Restore backup database error
RiniAcct
Posts: 2
I am trying to restore the backup database and receive this error bellow.
===================================
Restoring PMMobile (database) on RP_SQL2K5 instance from:
C:\SQL\Management Tools\Backup\FULL_RP_SQL2K5_PMMobile.sqb
SQL Server error
Server: Msg 3013
RESTORE DATABASE is terminating abnormally.
Server: Msg 3159
The tail of the log for the database "PMMobile" has not been backed up. Use BACKUP LOG WITH NORECOVERY to backup the log if it contains work you do not want to lose. Use the WITH REPLACE or WITH STOPAT clause of the RESTORE statement to just overwrite the contents of the log.
SQL Backup exit code: 1100
SQL error code: 3159
========================================
Please help why I cannot restore my database? I close the database completely and still got this error.
Thank you in advance.
===================================
Restoring PMMobile (database) on RP_SQL2K5 instance from:
C:\SQL\Management Tools\Backup\FULL_RP_SQL2K5_PMMobile.sqb
SQL Server error
Server: Msg 3013
RESTORE DATABASE is terminating abnormally.
Server: Msg 3159
The tail of the log for the database "PMMobile" has not been backed up. Use BACKUP LOG WITH NORECOVERY to backup the log if it contains work you do not want to lose. Use the WITH REPLACE or WITH STOPAT clause of the RESTORE statement to just overwrite the contents of the log.
SQL Backup exit code: 1100
SQL error code: 3159
========================================
Please help why I cannot restore my database? I close the database completely and still got this error.
Thank you in advance.
Comments
Your issue seems to be the same as:
http://www.red-gate.com/messageboard/vi ... php?t=2947
It's a warning, I think, informing you that there are transactions in the database being restored to that haven't been backed up. If you're unconcerned about this, use RESTORE... WITH REPLACE. (force restore over existing database option, in the GUI).