restore_notify script
The restore_notify.cmd script (on Windows) and the restore_notify script (on UNIX) run on the server that contains the storage unit. The NetBackup tape or disk manager (bptm or bpdm) calls the script when it finishes sending data to the client during a restore. The script is called regardless of whether data is sent.
To use this script, copy the script to the bin directory:
UNIX:
/usr/openv/netbackup/bin/goodies/restore_notify to /usr/openv/netbackup/bin
Windows:
install_path\netbackup\bin\goodies\restore_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:
programname | Specifies the name of the program doing the restore or other read operation. |
pathname | Specifies the path to the backup name or path. |
operation | Specifies one of the following: restore, verify, duplication, import |