Click or drag to resize

VssFileSpecificationBackupType Enumeration

The VssFileSpecificationBackupType enumeration is used by writers to indicate their support of certain backup operations—such as incremental or differential backup—on the basis of file sets (a specified file or files).

File sets stored in the Writer Metadata Document are tagged with a bit mask (or bitwise OR) of VssFileSpecificationBackupType values indicating the following:

  • Whether the writer and the requester have to evaluate a given file set for participation in the specified type of backup operations
  • Whether backing up the specified file will require a shadow copy

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
[FlagsAttribute]
public enum VssFileSpecificationBackupType
Members
  Member nameValueDescription
Unknown0 Used on operating systems where this enumeration is not supported, i.e. Windows XP.
FullBackupRequired1

A file set tagged with this value must be involved in all types of backup operations.

A writer tags a file set with this value to indicate to the requester that it expects a copy of the current version of the file set to be available following the restore of any backup operation with a VssBackupType of Full.

DifferentialBackupRequired2 A writer tags a file set with this value to indicate to the requester that it expects a copy of the current version of the file set to be available following the restore of any backup operation with a VssBackupType of Differential.
IncrementalBackupRequired4 A writer tags a file set with this value to indicate to the requester that it expects a copy of the current version of the file set to be available following the restore of any backup operation with a VssBackupType of Incremental.
LogBackupRequired8 A writer tags a file set with this value to indicate to the requester that it expects a copy of the current version of the file set to be available following the restore of any backup operation with a VssBackupType of Log.
FullSnapshotRequired256 A file set tagged with this value must be backed up from a shadow copy of a volume (and never from the original volume) when participating in a backup operation with a VssBackupType of Full.
DifferentialSnapshotRequired512 A file set tagged with this value must be backed up from a shadow copy of a volume (and never from the original volume) when participating in a backup operation with a VssBackupType of Differential.
IncrementalSnapshotRequired1024 A file set tagged with this value must be backed up from a shadow copy of a volume (and never from the original volume) when participating in a backup operation with a VssBackupType of Incremental.
LogSnapshotRequired2048 A file set tagged with this value must be backed up from a shadow copy of a volume (and never from the original volume) when participating in a backup operation with a VssBackupType of Log.
AllBackupRequired15 The default file backup specification type. A file set tagged with this value must always participate in backup and restore operations.
AllSnapshotRequired3840 The shadow copy requirement for backup. A file set tagged with this value must always be backed up from a shadow copy of a volume (and never from the original volume) when participating in a backup operation.
Remarks
For more information see the MSDN documentation on VSS_FILE_SPEC_BACKUP_TYPE Enumeration
See Also