SQL 2008 Restore Never Completes

  • 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

  • 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.

  • 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

  • Lol, I'm glad you got it working.

  • Were there any messages in the error log concerning the restore?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    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
  • No entries in the event log.

  • 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, MVP, M.Sc (Comp Sci)
    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

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply