Summary of VSS API Changes in Windows Server 2003

Changes in the VSS Service

Events added:

BackupShutdown

Changes in VSS Functionality

Additional functionality:

partial file support

directed targeting

New VSS Interfaces

IVssWMDependency

Existing VSS Interface Modifications

IVssAsync interface

Methods modified:

IVssAsync::Wait

IVssBackupComponents interface

Methods added:

IVssBackupComponents::AddNewTarget

IVssBackupComponents::QueryRevertStatus

IVssBackupComponents::RevertToSnapshot

IVssBackupComponents::SetRangesFilePath

IVssBackupComponents::SetRestoreState

IVssCreateWriterMetadata interface

Methods added:

IVssCreateWriterMetadata::AddComponentDependency

IVssCreateWriterMetadata::SetBackupSchema

Methods modified:

IVssCreateWriterMetadata::AddComponent

IVssCreateWriterMetadata::AddDatabaseFiles

IVssCreateWriterMetadata::AddDatabaseLogFiles

IVssCreateWriterMetadata::AddFilesToFileGroup

IVssExamineWriterMetadata interface

Methods added:

IVssExamineWriterMetadata::GetBackupSchema

IVssComponent interface

Methods removed:

IVssComponent::AddNewTarget

Methods added:

IVssComponent::AddDifferencedFilesByLastModifyTime

IVssComponent::GetDifferencedFile

IVssComponent::GetDifferencedFilesCount

Methods no longer reserved:

IVssComponent::AddDirectedTarget

IVssComponent::GetDirectedTarget

IVssWMComponent interface

Methods added:

IVssWMComponent::GetDependency

IVssWMFiledesc interface

Methods added:

IVssWMFiledesc::GetBackupTypeMask

Existing VSS Class Modifications

CVssWriter class

Methods modified:

CVssWriter::Initialize

Methods added:

CVssWriter::GetContext

CVssWriter::GetRestoreType

CVssWriter::GetSnapshotDeviceName

CVssWriter::OnBackupShutdown

New VSS Enumerations

VSS_BACKUP_SCHEMA

VSS_COMPONENT_FLAGS

VSS_FILE_SPEC_BACKUP_TYPE

VSS_RESTORE_TYPE

Existing VSS Enumeration Modifications

VSS_BACKUP_TYPE enumeration

Added values:

VSS_BT_COPY

VSS_RESTORE_TARGET enumeration

Removed values:

VSS_RT_NEW

VSS_RESTOREMETHOD_ENUM enumeration

Added values:

VSS_RME_RESTORE_AT_REBOOT_IF_CANNOT_REPLACE

VSS_SNAPSHOT_STATE enumeration

Added values:

VSS_SS_PROCESSING_POSTCOMMIT

VSS_SS_PROCESSING_PREFINALCOMMIT

VSS_SS_PREFINALCOMMITTED

VSS_SS_PROCESSING_POSTFINALCOMMIT

_VSS_VOLUME_SNAPSHOT_ATTRIBUTES enumeration

Added values:

VSS_VOLSNAP_ATTR_AUTORECOVER

Reserved values now support:

VSS_VOLSNAP_ATTR_HARDWARE_ASSISTED

VSS_VOLSNAP_ATTR_IMPORTED

VSS_VOLSNAP_ATTR_EXPOSED_LOCALLY

VSS_VOLSNAP_ATTR_EXPOSED_REMOTELY

VSS_WRITER_STATE enumeration

Added values:

VSS_WS_FAILED_AT_BACKUPSHUTDOWN

Changes to VSS Structures

VSS_COMPONENTINFO structure

Added members:

bSelectableForRestore

dwComponentFlags

cDependencies