|   | ![]() |
|
6.5 Disaster Recovery Plan 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Missing masterIf the master database is missing, the server will not even start. This will occur if an application shuts down the SQL Server and then deletes the master.dat file. The only way to get this back is to rebuild the master database. On the SQL Server CD, there is a blank master.dat file. During the master rebuild, this file gets copied over to SQL Server. Once the rebuild is complete, you will to do the following:
If all of your databases do not come back up, you will need to follow the steps outlined above based upon the errors you are getting. Missing database This occurs if someone drops a database that should not have been dropped. The only way to recover from this is a restore of that database.
Missing device Missing devices occur when SQL Server gets shut down and the .dat files get deleted. This can be diagnosed from a database that is marked as suspect. If you reset the status and it immediately goes back to suspect, it is a very good possibility that the .dat file got deleted. To recover from this you need to do the following:
6.5 Disaster Recovery Plan 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
All content on this site, except where noted, represents an original work of Michael R. Hotek and is protected by applicable copyright laws. The SQL Server FAQ is the sole work of Neil Pike. No page, portion of a page, or download may be used for commercial purposes in whole or in part without the express, written permission of the applicable author.