question

AronChappel avatar image
AronChappel asked

SQL database in recovery pending state

I have the same situation like this thread. https://ask.sqlservercentral.com/questions/97444/sql-database-stuck-in-recovery-pending.html

As it is very old thread so, I am creating the new question. I am using SQL 2012. Please help me to fix this problem as soon as possible.

sql-server-2012sql-server 2017sql-server-sql-server 2014
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

DazyParker avatar image
DazyParker answered

Aron, did you read the answer of referred thread? As Grant mentioned in the answer, restore from the updated backup or go with the DBCC CHECKDB REPAIR ALLOW DATA LOSS Option.

Regards,

Dazy

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AronChappel avatar image
AronChappel answered

Hello Ms Parker,

Thank you for your reply

as using dbcc checkdb repair_allow_data_loss could be the reason of data loss so, I am afraid to using it. .bak is not updated and we are facing corruption. any other option?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

DazyParker avatar image
DazyParker answered

Repair allow data loss could be the reason of data loss. In this case, I will refer this article: https://bit.ly/2Id58f9

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tim avatar image
Tim answered

How long has it been in recovery pending? Have you been able to run DBCC CHECKDB to see if you have any level of corruption? Recovery pending usually isn't the end of the world, I've been able to backup databases and transaction logs in a recovery pending state. Provide more details about your specific issue, not just referencing an old thread. What are your circumstances that got you here, what have you specifically done since the issue happened. The more details the better.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.