User guide
Scripting | 241
TransferPrescriptParameter_ForceBaseImage=$TransferPrescriptParameter_For
ceBaseImage
TransferPrescriptParameter_IsLogTruncation=$TransferPrescriptParameter_Is
LogTruncation
TransferPrescriptParameter_LatestEpochSeenByCore=$TransferPrescriptParame
ter_LatestEpochSeenByCore" > ~/PreTransferScriptResult.txt
exit 0
PostTransferScript.sh
The PostTransferScript is executed on the agent side after transferring a snapshot.
The following script stores the values from input parameters in the
Pre(Post)TransferScriptResult.txt which is located and stored in the root home
directory.
Sample PostTransferScript
#!/bin/bash
echo
"TransferPostscriptParameter_VolumeNames=$TransferPostscriptParameter_Vol
umeNames
TransferPostscriptParameter_ShadowCopyType=$TransferPostscriptParameter_S
hadowCopyType
TransferPostscriptParameter_Key=$TransferPostscriptParameter_Key
TransferPostscriptParameter_ForceBaseImage=$TransferPostscriptParameter_F
orceBaseImage
TransferPostscriptParameter_IsLogTruncation=$TransferPostscriptParameter_
IsLogTruncation
TransferPostscriptParameter_LatestEpochSeenByCore=$TransferPostscriptPara
meter_LatestEpochSeenByCore" > ~/PostTransferScriptResult.txt
exit 0