SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 SQL database struck at restore mode
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sundarchaitanya
Starting Member

India
1 Posts

Posted - 06/20/2012 :  06:08:36  Show Profile  Reply with Quote
Dear All,

My database shows that database in restore mode. I was unable to bring it offline. i dont have backup. database size is 400 gb and i used

resote database <dbname> with recovery command

these no change in status

please help me.

thanks in advance


JaybeeSQL
Yak Posting Veteran

77 Posts

Posted - 06/20/2012 :  11:57:59  Show Profile  Reply with Quote
Oddly enough I am currently facing the same problem on 4 log shipping secondary databases, look forward to any advice.
Go to Top of Page

prett
Posting Yak Master

USA
161 Posts

Posted - 06/25/2012 :  02:11:09  Show Profile  Reply with Quote
The solution of the issue is to create an empty database and make a backup of that then tried to restore the backup on the database stuck in restoring mode. Set these options on the restore:

First, the recovery state needs to be RESTORE WITH RECOVERY.
Second, the “Overwrite the existing database” option needs to be selected.

With these settings, the empty database was restored into the one that was stalled out. Ref:http://www.kenmaynard.com/content/sql-server-database-stuck-restoring-mode
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000