The PreSnapshotScript is run on the protected Linux machine after preparation but before data is read from the original device when capturing a snapshot. This script does not receive parameters from the protected machine.
The following script returns the time that the script completed on the machine in hours, minutes, and seconds, based on the system time of the Core. This information is logged in PreSnapshotScriptResult.txt, which is stored in the root home directory.
Sample PreSnapshotScript
#!/bin/bash echo "`date +%H:%M:%S` PreSnapshot script has been executed." > ~/PreSnapshotScriptResult.txt exit 0