join the MSSQLTips community

MSSQLTips.com - your daily source for SQL Server tips

Google
 
Web mssqltips.com

 
Stopping the "loading" of a sql restore - MSSQLTips

MSSQLTips

MSSQLTips.com - your daily source for SQL Server tips
Welcome to MSSQLTips Sign in | Join | Help
in Search

Stopping the "loading" of a sql restore

Last post 07-02-2009 12:47 PM by aprato. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-02-2009 9:30 AM

    Stopping the "loading" of a sql restore

    Hi all;

    Yes did the famous start a restore on the production DB, and halted it immediately.  Now its stuck in the "loading" phase and the db is inaccessible.

    So how does one stop that loading phase?  Don't mind if it does restore, as the restored data is only 6 hours older than current, but it seems stuck now?

    Thanks, Steve

  • 07-02-2009 12:22 PM In reply to

    • aprato
    • Top 10 Contributor
    • Joined on 12-01-2007
    • Greater Boston
    • Posts 540

    Re: Stopping the "loading" of a sql restore

     Hi

     You have a couple of options.  

     I'd try 

    restore database <your db> from disk='<your location>' with recovery

  • 07-02-2009 12:35 PM In reply to

    Re: Stopping the "loading" of a sql restore

     Go it fixed.

     I just "deep-sixed" the database with Enterprise Mgr. as I have nightly backups of the db and translogs. Next restored the latest BAK and TRN for that db within Ent. Mgr.

    Took about an hour, working now.  Thanks.

  • 07-02-2009 12:47 PM In reply to

    • aprato
    • Top 10 Contributor
    • Joined on 12-01-2007
    • Greater Boston
    • Posts 540

    Re: Stopping the "loading" of a sql restore

     Well, that was the other option which I call the "nuclear option". Good to hear you're all set.

Page 1 of 1 (4 items)