Enum VssRestoreMethod
This enumeration is used by a writer at backup time to specify through its Writer Metadata Document the default file restore method to be used with all the files in all the components it manages.
Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common.dll
Syntax
public enum VssRestoreMethod
Fields
Name | Description |
---|---|
Custom | This value indicates that a custom restore method will be used to restore the files managed by the selected component or component set. |
RestoreAtReboot | A requester will restore the files of a selected component or component set following a reboot of the system.
Files to be restored should be copied to a temporary location, and the requester should use |
RestoreAtRebootIfCannotReplace | If possible, a requester will restore the files of a selected component or component set to their correct location immediately. |
RestoreIfCanReplace | A requester will restore files of a selected component or component set only if there are no versions of those files currently on the disk that cannot be overwritten. |
RestoreIfNotThere | A requester will restore files of a selected component or component set only if there are no versions of those files currently on the disk. |
RestoreStopStart | The requester should perform the restore operation as follows:
The service to be stopped is specified by the writer beforehand when it calls the IVssCreateWriterMetadata::SetRestoreMethod method. The requester can obtain the name of the service by examining the RestoreMethod property. |
RestoreToAlternateLocation | A requester must restore the files of a selected component or component set to the location specified by the alternate location mapping specified in the writer component metadata file. |
StopRestoreStart | This value is used by a writer to indicates that a given service must be stopped prior to the start of the restore. After the restore operation, the service will be restarted. |
Undefined | No restore method is defined. This indicates an error on the part of the writer. |