Running Custom Scripts After a Backup

SUMMARY

When a backup job completes, you have the option to run custom scripts on each virtual machine

ISSUE

When a backup job completes, you have the option to run custom scripts on each virtual machine. Custom scripts can be used to perform log truncation or other actions on your individual virtual machines.

Note: Running custom scripts after a backup is supported on VMware and Hyper-V virtual machines.

Running post backup scripts are supported on the following operating systems:

  • Windows Server 2012
  • Windows Server 2008
  • Window 7 and 8

Scripts can be run after every backup completes or only after a successful backup. This is set using the Post Backup Script option in the Backup Dialog for each individual VM. To run a custom script, the script file must be copied to the virtual machine client and stored in the following directory (this directory must be created):

C:\Windows\PHD\PostBackup.bat

If required, administrator credentials must also be set for each VM. You can set the user name and password to use to run the scripts by editing the VM settings on the Protect page. Select the VM then click Edit Settings to open the settings dialog and enter the credentials to use.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us