Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL 2008 Restore Never Completes Expand / Collapse
Author
Message
Posted Wednesday, February 18, 2009 7:54 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, September 28, 2013 6:51 AM
Points: 3, Visits: 17
I am using SQL Server 2008 Enterprise Edition 64 bit.

I am running full SQL DB backup nightly and transaction log backup hourly against a Dynamics Application database (accounting data).

The users wanted to restore back to 9:00 AM ET on 2/17.

I started the restore at 9:30 AM ET on 2/17 and the system replied that the restore completed successfully within 5 minutes. When the users went to login to the application and connect to the database they received errors.

I opened Management Console and noticed the database is flagged as (Restoring).

I attempted to restore again and it completed successfully but the database is still flagged as (Restoring).

I tried restarting the SQL Service and restarting the server. No luck.

I also tried taking the database offline. No luck.

Any suggestions would be greatly appreciated.

Thanks...J

Post #659409
Posted Wednesday, February 18, 2009 7:58 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Friday, September 12, 2014 10:44 AM
Points: 20,572, Visits: 9,617
Did you restore with the norecovery option?

If you did, just do this :

restore dbname with recovery

That is the full lenght of my knowledge on the subject... hoping it works for you.
Post #659413
Posted Wednesday, February 18, 2009 8:15 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, September 28, 2013 6:51 AM
Points: 3, Visits: 17
I tried RESTORE WITH RECOVERY and RESTORE WITH NONRECOVERY and the database is stilled flagged as (Restoring).

Your suggestion lead me to try and restore to an hour earlier and to not use the "To a Point in Time" diagloue but instead to check the boxes next to the DB and Log backups that I wanted to restore.

I think SQL 2008 may have some issues with point in time recovery.

Thanks for your suggestion. This issue is resolved.

J
Post #659447
Posted Wednesday, February 18, 2009 8:33 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Friday, September 12, 2014 10:44 AM
Points: 20,572, Visits: 9,617
Lol, I'm glad you got it working.
Post #659477
Posted Wednesday, February 18, 2009 8:57 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 2:13 PM
Points: 39,866, Visits: 36,208
Were there any messages in the error log concerning the restore?


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #659515
Posted Wednesday, February 18, 2009 4:37 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, September 28, 2013 6:51 AM
Points: 3, Visits: 17
No entries in the event log.
Post #659962
Posted Thursday, February 19, 2009 1:28 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 2:13 PM
Points: 39,866, Visits: 36,208
No entries in the event log.


Did you look in the windows event log or the SQL error log? There should be at least one entry in the log for the restore.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #660096
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse