What is the difference between VSS Full Backup and VSS Copy Backup in Windows Server 2008?

We sometimes get people asking about the difference between VSS Full Backup and VSS Copy Backup in Windows Server 2008.

 

Basically, for certain applications (such as Exchange), VSS Copy Backup preserves logs and VSS Full Backup truncate logs. Yes, we know, this explanation is not very enlightening per se…

 

The point is that some applications create log files. For example, Exchange server creates a transaction log file. If you are using only Windows Server Backup to protect the applications, you can use any option to backup the data. However, if you are using a third party backup application, you should not use VSS Full Backup because it will delete the logs at the end of the backup. If the third party backup application relies on those logs to take incremental backups, it would take full backups all the time – a less than optimal situation…

 

So, when you do a VSS full backup, you create backup of all the files – but after that, the backup application may truncate logs on the file system.

 

On the other hand, when you do a VSS copy backup, all files are backed up and you preserve the all the applications files including log files on the live system. That means, you do preserve information on which files where changed, deleted, etc, and this will not affect the sequence of incremental and differential that might happen independent of the copy backup. Therefore, a copy backup cannot be used as a starting point for incremental/differential backups/restores.

 

Just a final technical note: The backup type (full, copy, incremental) can be specified by a VSS-based backup application at the beginning of the backup session, using the IVssBackupComponents::SetBackupState. In response to that, any application that implements a VSS writer can choose to truncate the logs in the OnBackupComplete VSS event. This is one of the last events that a VSS-based backup application (such as DPM) sends to all affected writer at the end of the backup session.

 

Recources:

Technet Forum post on this subject: http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2954230&SiteID=17

MSDN article: http://msdn.microsoft.com/en-us/library/aa384679(VS.85).aspx .

公司简介

 

自1996年以来,公司一直专注于域名注册、虚拟主机、服务器托管、网站建设、电子商务等互联网服务,不断践行"提供企业级解决方案,奉献个性化服务支持"的理念。作为戴尔"授权解决方案提供商",同时提供与公司服务相关联的硬件产品解决方案。
备案号: 豫ICP备05004936号-1

联系方式

地址:河南省郑州市经五路2号

电话:0371-63520088

QQ:76257322

网站:800188.com

电邮:该邮件地址已受到反垃圾邮件插件保护。要显示它需要在浏览器中启用 JavaScript。