Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

How to bring back a Database Online from Suspect mode

$
0
0

(MSDN Moderator Please transfer my forum if it's not in the right category. Thanks).

Dear All,

Iam having one of my database in SUSPECT mode. I have read few blogs and forums, and tried to do the following:

1) I tried to Detach the database and than attach it, but it did not allow me to detach from the begging.

2) I tried to run the following commands:

ALTER DATABASE Database_Name SET EMERGENCY (Successfully).
ALTER DATABASE Database_Name SET SINGLE_USER (Successfully).
DBCC CHECKDB('Database_Name', REPAIR_ALLOW_DATA_LOSS) (Failed).

So obviously i couldn't continue with the remain commands:

ALTER DATABASE Database_Name SET ONLINE
ALTER DATABASE [Database_Name] SET MULTI_USER WITH NO_WAIT

The error message i get for that command is:

Msg 922, Level 14, State 1, Line 1
Database 'Database_Name' is being recovered. Waiting until recovery is finished.

I have waited for almost a day, and when i came next day i was unable to continue with the other commands (Below). I think its getting stuck and not recover anything. The backup we have is a week before the crash happened, So I would like to find a solution without referring to the old backup and restore it.

Please guys when you right the solution, please make it step by step. Thanks.

Best Regards,

Burair



Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>