Microsoft Knowledge Base Email Alertz

KBAlertz.com: SQL Server records a backup operation in the backupset history table when you use VSS to back up files on a volume

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




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 volume

On This Page

SYMPTOMS

Consider 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.

CAUSE

This problem occurs because VSS calls the SQLWriter service or the Microsoft SQL Server Desktop Engine (MSDE) writer.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Description of the MSDE writer and the SQLWriter service

The 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 operation

When 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 recovery

If 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 operation

To do this, run the following statement.
USE msdb
GO

SELECT server_name, database_name, backup_start_date, is_snapshot, database_backup_lsn
FROM backupset
In the result, notice the database_backup_lsn column and the is_snapshot column. An entry that represents an actual database backup operation has the following characteristics:
  • The value of the database_backup_lsn column is not 0.
  • The value of the is_snapshot column is 0.

REFERENCES

For 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
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Workgroup Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000, Workgroup Edition
  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Enterprise Edition
Keywords: 
kbexpertiseadvanced kbtshoot kbprb KB951288
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please