BUG: Transaction Log Backup Possible After Automatic Rebuild of LDF (257855)
The information in this article applies to:
This article was previously published under Q257855
BUG #: 57670 (SQLBUG_70)
SYMPTOMS
If the log data file (LDF) for a database is not available during SQL Server startup (for example, if the file has been renamed or deleted), SQL Server 7.0 sometimes attempts to rebuild the LDF file automatically to ensure database availability.
Because the information from the original LDF file is lost, this process interrupts an existing sequence of transaction log backups. A new full database backup needs to be performed to start a new sequence on transaction log backups.
However, SQL Server permits you to perform an apparently valid transaction log backup at this time without warning you that the backup sequence is broken.
If you do make such an invalid backup and then later attempt to restore this transaction log, it fails with the following message:
Server: Msg 3155, Level 16, State 1, Line 1
The RESTORE operation cannot proceed because one or more files have been added or dropped from the database since the backup set was created.
Server: Msg 3013, Level 16, State 1, Line 1
Backup or restore operation terminating abnormally.
WORKAROUND
To work around this problem, do either of the following:
- Make sure that the LDF files are not deleted or renamed.
-or-
- Perform a full database backup to start the transaction log backup sequence over.
STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0.
Modification Type: | Major | Last Reviewed: | 10/16/2002 |
---|
Keywords: | kbBug KB257855 kbAudDeveloper |
---|
|