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 > Load master DB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-31-11, 02:49
prakashbuz prakashbuz is offline
Registered User
 
Join Date: Sep 2008
Posts: 40
Load master DB

Hi all,
I have doubt,might look silly..
Is it possible to load master db dump from server A to server B.
1. The serverB doesnot have exact disk structure as server A (menas server A device location is different from B)
2. Is it possible to load user database to the server B from server A which has db size created as server A but the no of devices and physical location of devices are different.
3. Steps to load master DB..

Pls some one help..
Reply With Quote
  #2 (permalink)  
Old 08-31-11, 17:51
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 1,268
1. Yes but the resulting devices will be the same as the original master
Might have to then do dbcc dbrepair (<dbname>,dropdb) and sp_dropdevice
2. Yes, normal load database
4. See the online documentation on sybase's website
Reply With Quote
  #3 (permalink)  
Old 09-01-11, 07:40
prakashbuz prakashbuz is offline
Registered User
 
Join Date: Sep 2008
Posts: 40
Hi pdreyer,
I am not clear with the point 1, if u dont mind can u pls explain
Reply With Quote
  #4 (permalink)  
Old 09-01-11, 15:25
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 1,268
All the devices from master..sysdevices in the loaded master will point to files that do not exist in the server. When you start the DB server all files will be unavailable as you say "serverB does not have exact disk structure as server A".
So loading master is only useful to restore your logins.

You might be able to create links if the device sizes are the same e.g.
ln -s /part_on_serverB/datafile1 /path_on_serverA/datafile

else you would probably have to mark the databases suspect, drop them, drop the devices and recreate from scratch.
Reply With Quote
  #5 (permalink)  
Old 09-03-11, 09:57
prakashbuz prakashbuz is offline
Registered User
 
Join Date: Sep 2008
Posts: 40
Thanks a lot man....
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