Backup Job Scripts

You can instruct Veeam Agent for IBM AIX to run custom pre-job and post-job scripts within the backup job session. For example, you may want to use custom scripts to configure email notifications about jobs performed by Veeam Agent or to create a snapshot of the file system to ensure consistency of the backed-up data.

Script settings are enabled at the job level: you can specify individual scripts for each job configured in Veeam Agent for IBM AIX.

Scripts must be created beforehand. You must specify paths to them in the job settings. Veeam Agent for IBM AIX supports scripts in the SH file format.

Veeam Agent for IBM AIX executes the pre-job script directly before the backup job starts. After the backup job completes, Veeam Agent for IBM AIX executes the post-job script.

Veeam Agent for IBM AIX starts the backup job regardless of the pre-job script result. If the pre-job script fails to execute, Veeam Agent for IBM AIX will always start the backup job. Then, after the backup job completes, Veeam Agent for IBM AIX will execute the post-job script.

The script is considered to be executed successfully if "0" is returned.

The default time period for script execution is 10 minutes. After this period expires, Veeam Agent for IBM AIX stops executing the script and displays a warning message in the job session. If the script fails to execute before the timeout expires, Veeam Agent for IBM AIX also displays a warning in the job session.