The parameters for shell scripting in Rapid Recovery are described in the following tables.
TransferPrescriptParameters_VolumeNames
The following table presents the available objects for the TransferPrescript parameter.
Table 213: TransferPrescript objects
Method
Description
public VolumeNameCollection VolumeNames (get; set; )
Gets or sets the collection of volume names for transfer.
VolumeNames is a data structure that contains the following data:
GuidName. The Guid associated with the volume, used as the name if a DisplayName is not set.
DisplayName. The displayed name of the volume.
public ShadowCopyType ShadowCopyType { get; set; }
Gets or sets the type of copying for transfer. ShadowCopyType is an enumeration with values. The available values are:
Unknown
Copy
Full
public string Key { get; set; }
The Key method generates a pseudorandom (but not cryptographically secure) key, which can be used as a one-time password to authenticate transfer requests.
public bool ForceBaseImage { get; set; }
Gets or sets the value indicating whether the transfer was a forced base image capture.
public bool IsLogTruncation { get; set; }
Gets or sets the value indicating whether logging is being truncated.
public uint LatestEpochSeenByCore { get; set; }
Gets or sets latest epoch value.
The LatestEpochSeenByCore method is the ordinal number of the most recent snapshot taken by the Core. This is the 'epoch number' assigned by the filter driver to this particular snapshot at the moment it was taken with VSS.
TransferPostscriptParameter
The following table presents the available objects for the TransferPostscript parameter.
Table 214: TransferPostscript objects
Method
Description
public VolumeNameCollection VolumeNames (get; set; )
Gets or sets the collection of volume names for transfer.
VolumeNames is a data structure that contains the following data:
GuidName. The Guid associated with the volume, used as the name if a DisplayName is not set.
DisplayName. The displayed name of the volume.
public ShadowCopyType ShadowCopyType { get; set; }
Gets or sets the type of copying for transfer.ShadowCopyType is an enumeration with values. The available values are:
Unknown
Copy
Full
public string Key { get; set; }
The Key method generates a pseudorandom (but not cryptographically secure) key, which can be used as a one-time password to authenticate transfer requests.
public bool ForceBaseImage { get; set; }
Gets or sets the value indicating whether the transfer was a forced base image capture.
public bool IsLogTruncation { get; set; }
Gets or sets the value indicating whether logging is being truncated.
public uint LatestEpochSeenByCore { get; set; }
Gets or sets latest epoch value.
The LatestEpochSeenByCore method is the ordinal number of the most recent snapshot taken by the Core. This is the 'epoch number' assigned by the filter driver to this particular snapshot at the moment it was taken with VSS.
This section describes the sample shell scripts available for administrative users to run on protected machines.
Caution: The sample scripts provided in this document function as they exist when run by qualified administrators. Take precautions when modifying functioning scripts to retain working versions. Any modifications to the script samples included here, or any scripts you create, are considered customization, which is not typically covered by Quest Support.
Note: Protected machines use the 'exec' shell command to launch the script. You can indicate which interpreter should run the script by defining that information in the first line of the script. If you do not specify the interpreter, the default shell interprets the script. If you choose something other than the default shell, you must ensure that the specified interpreter is available on all protected machines. All sample shell scripts in this document are tested and run successfully as Bourne shell or Bash scripts.
The sample scripts for protected machines include: