Disaster Recovery

0 pts.
Tags:
Disaster Recovery
SQL Server 2005
How to get database back in disaster recovery when database is in emergency mode in sql server 2005 is there any option to update master then take a backup --please let me knw---
ASKED: November 12, 2007  10:40 AM
UPDATED: December 2, 2007  11:44 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

If the database has been repaired you can simply put the database back into an online state using the ALTER DATABASE command.
<pre>ALTER DATABASE DatabaseName
SET ONLINE</pre>

If the database is still corrupt you can not do this, as the database will still report as corrupt and mark it self as suspect. You have to restore the database to another name, then move the missing data (that you can access) from the corrupt database to the restored database. Onve you have the data, you can drop the corrupt database, rename the restored database and get the system working again. Don’t forget to backup the database when you are all done.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following