Windows Dev Center

VSS_RESTORE_TYPE enumeration

The VSS_RESTORE_TYPE enumeration is used by a requester to indicate the type of restore operation it is about to perform.

Syntax


typedef enum _VSS_RESTORE_TYPE { 
  VSS_RTYPE_UNDEFINED  = 0,
  VSS_RTYPE_BY_COPY    = 1,
  VSS_RTYPE_IMPORT     = 2,
  VSS_RTYPE_OTHER      = 3
} VSS_RESTORE_TYPE, *PVSS_RESTORE_TYPE;

Constants

VSS_RTYPE_UNDEFINED

No restore type is defined. This is the default restore type. However, writers should treat this restore type as if it were VSS_RTYPE_BY_COPY.

This indicates an error on the part of the requester.

VSS_RTYPE_BY_COPY

A requester restores backed-up data to the original volume from a backup medium.

VSS_RTYPE_IMPORT

A requester does not copy data from a backup medium, but imports a transportable shadow copy and uses this imported volume for operations such as data mining.

Windows Server 2003, Standard Edition and Windows Server 2003, Web Edition:  This value is not supported. All editions of Windows Server 2003 with SP1 support this value.

VSS_RTYPE_OTHER

A restore type not currently enumerated. This value indicates an application error.

Remarks

A requester can optionally set the type of a restore operation using IVssBackupComponents::SetRestoreState.

A writer can retrieve the type of a restore operation by calling CVssWriter::GetRestoreType.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vss.h

See also

IVssBackupComponents::SetRestoreState
CVssWriter::GetRestoreType

 

 

Community Additions

ADD
Show:
© 2015 Microsoft