SQL Server: Database stuck in “Restoring” state

前端 未结 26 2018
后悔当初
后悔当初 2020-11-28 17:09

I backed up a database:

BACKUP DATABASE MyDatabase
TO DISK = \'MyDatabase.bak\'
WITH INIT --overwrite existing

And then tried to restore it

26条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 17:50

    Right Click database go to Tasks --> Restore --> Transaction logs In the transactions files if you see a file checked, then SQL server is trying to restore from this file. Uncheck the file, and click OK. Database is back .....

    this solved the issue for me, hope this helps someone.

提交回复
热议问题