The PreTransferScript is run on the protected Linux machine immediately before the backup snapshot transfer begins.
The following script stores the values from input parameters in PreTransferScriptResult.txt, which is stored in the root home directory.
Sample PreTransferScript
#!/bin/bash echo "TransferPrescriptParameter_VolumeNames=$TransferPrescriptParameter_VolumeNames TransferPrescriptParameter_ShadowCopyType=$TransferPrescriptParameter_ShadowCopyType TransferPrescriptParameter_Key=$TransferPrescriptParameter_Key TransferPrescriptParameter_ForceBaseImage=$TransferPrescriptParameter_ForceBaseImage TransferPrescriptParameter_IsLogTruncation=$TransferPrescriptParameter_IsLogTruncation TransferPrescriptParameter_LatestEpochSeenByCore=$TransferPrescriptParameter_LatestEpochSeenByCore" > ~/PreTransferScriptResult.txt exit 0