Configuring scripts for backup and restore operations

Prescripts and postscripts are scripts that can be run before or after backup and restore jobs run at the job level. Supported scripts include shell scripts for Linux-based machines and batch and PowerShell scripts for Windows-based machines. Scripts are created locally, uploaded to your environment through the Script page, and then applied to job definitions.

Before you begin

Review the following considerations for using scripts with hypervisors:
  • The user who is running the script must have the Log on as a service right enabled, which is required for running prescripts and postscripts. For more information about this right, see Add the Log on as a service Right to an Account.
  • Windows Remote Shell (WinRM) must be enabled.