Backup Job Scripts

You can specify custom scripts that will be executed within the backup job session on Mac computers. Veeam Agent supports pre-job and post-job scripts that run on the Veeam Agent computer before and after the backup job session. To learn more about requirements for scripts, see Backup Job Scripts.

Place the script files on the backup server. If you use Veeam Backup & Replication on Linux, you must place them into the /var/lib/veeam/scripts* directory. If you use Veeam Backup & Replication on Windows, you can use any local folder.

During the policy application session, Veeam Backup & Replication will upload the scripts to the /var/lib/veeam/scripts directory on each Veeam Agent computer added to the policy and execute them on these computers.

Backup Job Scripts

Tabs

Web UI

To specify custom scripts for the policy:

  1. At the Guest Processing step, turn on the Enable application-aware processing toggle.
  2. Click Customize.
  3. In the Customize Guest Processing Settings window, select a protection group or individual computer and click Application Settings.

To define custom settings for a computer added as a part of a protection group, you must add the computer to the list as a standalone object. To do this, click Add and choose the computer whose settings you want to customize. Then select the computer in the list and define the necessary settings.

  1. In the Processing Settings window, on the Scripts tab, select the Enable script execution check box.
  2. In the Pre-job script and Post-job script fields, specify the path to executable files in a local folder on the backup server.
  3. Click Apply. Then, in the Customize Guest Processing Settings window, click Save.

Processing Settings

Console

To specify custom scripts for a backup policy:

  1. At the Guest Processing step of the wizard, select Enable application-aware processing and click Applications.
  2. In the Application-Aware Processing Options window, select a protection group or individual computer and click Edit.

To define custom settings for a computer added as a part of a protection group, you must add the computer to the list as a standalone object. To do this, click Add and choose the computer whose settings you want to customize. Then select the computer in the list and define the necessary settings.

  1. In the Processing Settings window, select Enable script execution.
  2. In the Pre-job script and Post-job script fields, click Browse to choose executable files from a local folder on the backup server.

Backup Job Scripts

Page updated 2026-11-24

Page content applies to build 13.2.0.193