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
The PostSnapshotScript is run on the protected Linux machine after data is read from the original device when capturing a snapshot, but before data is read from the copied device. 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 PostSnapshotScriptResult.txt, which is stored in the root home directory.
Sample PostSnapshotScript
#!/bin/bash
echo "`date +%H:%M:%S` PostSnapshot script has been executed." > ~/PostSnapshotScriptResult.txt
exit 0
The PostExportScript is run on the exported Linux machine after the virtual export is complete. This script does not receive parameters from the protected machine.
Note: The original machine from which the VM was cloned should be powered off before starting the VM.
The following script returns the start time of the exported virtual machine in hours, minutes, and seconds, based on the system time of the Core. This information is logged in PostExportScriptResult.txt, which is stored in the root home directory.
Sample PostExportScript
#!/bin/bash
echo
"`date +%H:%M:%S` Start time of the machine. This indicates that virtual export has been completed and machine is active." > ~/PostExportScriptResult.txt
exit 0