Enum VssRestoreTarget
The VssRestoreTarget enumeration is used by a writer at restore time to indicate how all the files included in a selected component, and all the files in any component set it defines, are to be restored.
Setting a restore target modifies or overrides the restore method set during backup (see VssRestoreMethod).
Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common.dll
Syntax
public enum VssRestoreTarget
Remarks
For more information see the MSDN documentation on the VSS_RESTORE_TARGET enumeration.
Fields
Name | Description |
---|---|
Alternate | The files are restored to a location determined from an existing alternate location mapping. The restore target should be set to Alternate only when alternate location mappings have been set for all the files managed by a selected component or component set. |
Directed | Use directed targeting by the writer at restore time to restore a file. Directed targeting allows a writer to control, on a file-by-file basis, how a file is restored—indicating how much of a file is to be restored and into which files the backed-up file is to be restored. |
Original | This is the default restore target. This value indicates that the restoration of the files included in a selected component (or the component set defined by that component) should proceed according to the original restore method specified at backup time by a VssRestoreMethod value. |
OriginalLocation | The files are restored to the location at which they were at backup time, even if the original restore method that was specified at backup time was RestoreToAlternateLocation. Windows Server 2003 and Windows XP: This value is not supported. |
Undefined | No target is defined. This value indicates an error on the part of the writer. |