parent_end_notify script
NetBackup calls the parent_end_notify.cmd script (on Windows) and the parent_end_notify script (on UNIX) each time a parent job ends.
To use this script, copy the script to the bin directory:
UNIX:
/usr/openv/netbackup/bin/goodies/parent_end_notify to /usr/openv/netbackup/bin
Windows:
install_path\netbackup\bin\goodies\parent_end_notify.cmd to install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
NetBackup passes the following parameters to the script:
clientname | Specifies the name of the client from the NetBackup catalog. |
policyname | Specifies the policy name from the NetBackup catalog. |
schedname | Specifies the schedule name from the NetBackup catalog. |
schedtype | Specifies one of the following: FULL, INCR (differential incremental), CINC (cumulative incremental), UBAK, UARC |
status | Specifies the exit code for the entire backup job. |
stream | Specifies the stream number; it's always -1. |
stream_count | Specifies that if the job starts normally, the stream count indicates how may streams were started. Verifies the number of streams that complete and run backup_exit_notify. If a failure occurs that makes it impossible to start any streams, a stream count of -1 is returned. |