Script Settings

To specify script settings for the replication job:

  1. At the Job Settings step of the wizard, click Advanced.
  2. Click the Scripts tab.
  3. If you want to execute custom scripts before and after the replication job, select the Run the following script before the job and Run the following script after the job check boxes and click Browse to choose executable files from a local folder on the backup server. The scripts are executed on the backup server.

You can select to execute pre- and post-replication actions after a number of job sessions or on specific week days.

  • If you select the Run scripts every... backup session option, specify the number of the replication job sessions after which scripts must be executed.
  • If you select the Run scripts on selected days only option, click Days and specify week days on which scripts must be executed.

Script SettingsNote

Consider the following:

  • Custom scripts that you define in the advanced job settings relate to the replication job itself, not the VM quiescence process. To add pre-freeze and post-thaw scripts for VM image quiescence, use the Guest Processing step of the wizard.
  • If you select the Run scripts on the selected days only option, Veeam Backup & Replication executes scripts only once on each selected day — when the job runs for the first time. During subsequent job runs, scripts are not executed.
  • To run the script, Veeam Backup & Replication uses the Service Account under which the Veeam Backup Service is running.

Script Settings 

Page updated 6/8/2023

Page content applies to build 12.1.1.56