Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Restoring Master Database

Author  Topic 

schuhtl
Posting Yak Master

102 Posts

Posted - 2004-10-28 : 10:50:19
My company had a server crash and had to be rebuild from scratch. The on-call dba restored the databases in this order: user databases then the msdb. He did not restore the master. What ramifications does not restoring the master database have other than the loss of logins? Is it to late to restore the master? The dba said he tried to restore the master after I instructed him to and he said when he tried to go into single user mode the command window went blank and just hung. He was unable to use query analyzer to restore the database. What is the correct steps for restoring the master?

Thanks

CanadaDBA

583 Posts

Posted - 2004-10-28 : 11:12:27
If you have MASTER data and log files, then you can stop your server, copy old MASTER files instead of the new one and start your SQL-Server. Remember to copy new MASTER files to a safe place just in case.

For more and detail information check this: http://support.microsoft.com/default.aspx?scid=kb;en-us;224071&Product=sql2k

Canada DBA
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2004-10-28 : 22:48:32
quote:
Originally posted by schuhtl

My company had a server crash and had to be rebuild from scratch. The on-call dba restored the databases in this order: user databases then the msdb. He did not restore the master. What ramifications does not restoring the master database have other than the loss of logins? Is it to late to restore the master? The dba said he tried to restore the master after I instructed him to and he said when he tried to go into single user mode the command window went blank and just hung. He was unable to use query analyzer to restore the database. What is the correct steps for restoring the master?

Thanks



IMHO, it's ok not to restore the master database, as everything will be rebuild while restoring the other databases, you can resolve orphaned users by sp_change_users_login

--------------------
keeping it simple...
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2004-10-29 : 06:44:27
Were there any User SProcs etc. in the Master DB?

If not then I agree with Jen

Kristen
Go to Top of Page
   

- Advertisement -