5

While i execute shrink database, the electricity has been gone down, I can't access my database now, it is (In Recovery), how can i recover it?? Note: it is a very huge database: 25 GB.

EDIT:

My question on serverfault.com: https://serverfault.com/questions/395067/electricity-gone-off-while-shrinking-database-how-can-i-recover-my-database

8

Wait patiently for it to recover. This is what is supposed to happen. While waiting, try to track down your latest backup, just in case. I suggest a small investment in a UPS will avoid this problem in the future.

  • can it continue recovery after a restart???? – Sakher Jun 3 '12 at 4:43
  • 5
    @MSS If you restart the system while a database is in recovery, the recovery process will restart from the beginning again. Preferably, leave it be until recovery completes. – Mark Storey-Smith Jun 3 '12 at 10:47
  • Thaaaaaaaaaaaaaaaaaaaaaaanx, it is ok again! – Sakher Jun 3 '12 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.