password99
Technical User
I need to restore db to a server other than the one from which the backup file was made. both the server have identical db, users, security etc. The only different thing. I would like to get the data from the other server DB to this server DB.
PLEASE HELP
So here is what I did:
ALTER DATABASE testdb SET SINGLE_USER WITH ROLLBACK IMMEDIATE
use master
RESTORE DATABASE testdb FROM DISK = 'H:\test' WITH REPLACE
ALTER DATABASE testdb SET MULTI_USER
I get these errors:
Nonqualified transactions are being rolled back. Estimated rollback completion: 100%.
Server: Msg 3270, Level 16, State 1, Line 3
An internal consistency error occurred. Contact Technical Support for assistance.
Server: Msg 3013, Level 16, State 1, Line 3
RESTORE DATABASE is terminating abnormally.
Server: Msg 927, Level 14, State 2, Line 4
Database 'testdb' cannot be opened. It is in the middle of a restore.
Server: Msg 5069, Level 16, State 1, Line 4
ALTER DATABASE statement failed.
PLEASE HELP
So here is what I did:
ALTER DATABASE testdb SET SINGLE_USER WITH ROLLBACK IMMEDIATE
use master
RESTORE DATABASE testdb FROM DISK = 'H:\test' WITH REPLACE
ALTER DATABASE testdb SET MULTI_USER
I get these errors:
Nonqualified transactions are being rolled back. Estimated rollback completion: 100%.
Server: Msg 3270, Level 16, State 1, Line 3
An internal consistency error occurred. Contact Technical Support for assistance.
Server: Msg 3013, Level 16, State 1, Line 3
RESTORE DATABASE is terminating abnormally.
Server: Msg 927, Level 14, State 2, Line 4
Database 'testdb' cannot be opened. It is in the middle of a restore.
Server: Msg 5069, Level 16, State 1, Line 4
ALTER DATABASE statement failed.