Article ID: 951288 - Last Review: April 15, 2008 - Revision: 1.2 SQL Server records a backup operation in the backupset history table when you use VSS to back up files on a volumeOn This PageSYMPTOMSConsider the following scenario. You install Microsoft SQL Server on a volume. You use a Volume Shadow Copy Service (VSS) application to back up files on the volume. In this scenario, SQL Server records a backup operation in the backupset history table. This problem occurs even if you did not actually back up the database files of SQL Server. Note The NTBackup.exe utility is a VSS application. CAUSEThis problem occurs because VSS calls the
SQLWriter service or the Microsoft SQL Server Desktop Engine (MSDE) writer. STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. MORE INFORMATIONDescription of the MSDE writer and the SQLWriter serviceThe MSDE writer is included in the VSS framework in Windows XP and in Windows Server 2003. VSS uses the MSDE writer to back up SQL Server 2000 databases. The SQLWriter service is installed when you install SQL Server 2005. VSS uses the SQLWriter service to back up both SQL Server 2005 databases and SQL Server 2000 databases.How VSS performs a backup operationWhen VSS performs a backup operation on a volume, VSS calls all writers that have data on the volume. This makes sure that the backup is valid. When VSS calls the SQLWriter service or the MSDE writer, the SQLWriter service or the MSDE writer inserts a record into the backupset history table. This record shows that a backup operation was performed. However, the SQLWriter service or the MSDE writer cannot determine whether the files that VSS backed up are database files.Precautions to take if you use the entries in the backupset history table for data recoveryIf you want to use entries in the backupset history table for data recovery, you must verify that the entries represent actual database backup operations.How to verify that an entry represents an actual database backup operationTo do this, run the following statement.
REFERENCESFor more information about the SQL Writer service, visit the
following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms175536.aspx
(http://msdn2.microsoft.com/en-us/library/ms175536.aspx)
For
more information about the backupset history table, visit the following MSDN
Web site:
http://msdn2.microsoft.com/en-us/library/ms186299.aspx
(http://msdn2.microsoft.com/en-us/library/ms186299.aspx)
APPLIES TO
| Article Translations
|
Back to the top
