If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Restore database restore alias ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-22-08, 02:17
cghcgh cghcgh is offline
Registered User
 
Join Date: Mar 2008
Posts: 23
Restore database restore alias ?

Hi,
I have a working server A and a new server B. i intend to restore the backup of A into B. some of the database in A has user alias in them. When i restore a database in B, will the alias be restored as well? or i have to manually create athem again? Thanks.
Reply With Quote
  #2 (permalink)  
Old 04-22-08, 03:09
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 1,268
Yes it is restored (sysalternates)
Your suid is probably not the same on server A and B
Reply With Quote
  #3 (permalink)  
Old 04-22-08, 04:09
cghcgh cghcgh is offline
Registered User
 
Join Date: Mar 2008
Posts: 23
how do i prevent the trouble of trying to figure out the suid conflict? cos my new server B is a reused database which some id already.

Another question is that there are several system tables in the database. Is is needed to migrate all over, especially the roles part? Thanks.

syssrvroles
sysloginroles
syslogins
sysroles
Reply With Quote
  #4 (permalink)  
Old 04-23-08, 02:57
cghcgh cghcgh is offline
Registered User
 
Join Date: Mar 2008
Posts: 23
when we transfer the logins over, is the password transferred over as well?
Reply With Quote
  #5 (permalink)  
Old 04-23-08, 03:40
Martijnvs Martijnvs is offline
Registered User
 
Join Date: Jan 2004
Location: The Hague/Utrecht, NL
Posts: 415
Quote:
Originally Posted by cghcgh
when we transfer the logins over, is the password transferred over as well?
In the table syslogins the password is stored (encrypted). BCP out/in also transfers the password.
__________________
I'm not crazy, I'm an aeroplane!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On