I am doing practice runs for restoring a database. If i loose the entire server and have to start over from scratch I hit a road block. How do i create an exclusive lock for the master database so i can restore it with the backup i have?
If you want to restore the master database you have to start it up in single mode from the command prompt.
sqlservr.exe -c -m
then you can restore it from within the query analyzer window if you have a valid backup. If you had a crash and it can't be recovered you should use the rebuild master utility.(Hope you don't have to though)
Everything's well described in the BOL
Just type 'restoring master database' in the index tab.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.