Script Settings

To specify script settings for the backup job, do the following:

  1. In the Specify advanced job settings window, select the Scripts option with the Tab and Down keys and press Enter.
  2. In the Scripts window, in the Job scripts section, specify custom scripts that you want to execute before and/or after the backup job:
  • In the Pre-job field, specify a path to the script that should be executed before the backup job starts.
  • In the Post-job field, specify a path to the script that should be executed after the backup job completes.
  1. In the Scripts window, in the Snapshot scripts section, specify custom scripts that you want to execute before Veeam Agent creates a snapshot of the backed-up volume and/or after the snapshot is created:
  • In the Pre-freeze field, specify a path to the script that should be executed before Veeam Agent creates a volume snapshot.
  • In the Post-thaw field, specify a path to the script that should be executed after Veeam Agent creates a volume snapshot.
  1. Switch to the Ok button and press Enter.

Script Settings IMPORTANT

You can specify snapshot script settings only if Veeam Agent for Linux operates in the Server edition. To learn more about editions, see Product Editions.

Script Settings 

Specifying Path to Script

You can specify a path to the executable file of the job or snapshot script in one of the following ways:

  1. Type a path to the executable file.
  2. Browse to the executable file:
  1. Select the Browse option with the Tab key and press Enter.
  2. In the Choose script location window, select the directory being a part of the path to the script and press Enter.
  3. Repeat the step 'b' until a path to the directory in which the executable file resides appears in the Current directory field.
  4. Select the necessary executable file and press Enter.

Alternatively, you can switch to the Ok button and press Enter.

 

Script Settings TIP

If you do not want to execute a script, you can leave the corresponding field blank and proceed to the next step of the wizard.