A Vault job can call notify scripts at specific points during the execution of the job. Vault includes template notify scripts that you can customize for your use. You can use a script for a robot, a vault, or a profile.
On Windows systems, the names of the scripts include a .cmd extension. They include instructions that can help you edit them for your needs.
To call and run a script, it must be copied to the NetBackup bin directory. A script must return a normal status (0) for the Vault job to continue processing. In case of failure, the script must return a nonzero status code to cause the Vault job to stop. On UNIX systems, the return status is communicated to the Vault job through the exit call. On Windows systems, the scripts communicate the return status in a file defined by the EXIT_STATUS environment variable, which is set by Vault.
The following scripts are provided with Vault:
Before you use a notify script, ensure that your systems are set up properly for email.