03-13-2015 01:28 PM
Hello All,
Quick question. Is it possible to setup and receive email notifications when a restore starts and completes (with status if possible) ?
Thanks !
Environment - Netbackup 7.6.0.3 Master on Linux RedHat 2.6
Solved! Go to Solution.
04-01-2015 05:41 AM
About the scripts...
Have you tried to read up in NetBackup Administrator's Guide, Volume II about the notify scripts ?
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.
userreq_notify script
The userreq_notify.cmd script (on Windows) and the userreq_notify script (on
UNIX) run on the master server.
The scripts are located in the following directories:
On Windows: Install_path\VERITAS\NetBackup\bin\userreq_notify.cmd
On UNIX: /usr/openv/netbackup/bin/userreq_notify
NetBackup calls the script each time a request is made to either of the following:
■ List files that are in backups or archives
■ Start a backup, archive, or restore
You can change this script to gather information about user requests to NetBackup.
Sound like userreq_notify is the one you need...
03-13-2015 01:37 PM
03-13-2015 02:06 PM
Trying to figure out the NetBackup restore_notify and userreq_notify scripts
03-13-2015 09:52 PM
04-01-2015 05:41 AM
About the scripts...
Have you tried to read up in NetBackup Administrator's Guide, Volume II about the notify scripts ?
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.
userreq_notify script
The userreq_notify.cmd script (on Windows) and the userreq_notify script (on
UNIX) run on the master server.
The scripts are located in the following directories:
On Windows: Install_path\VERITAS\NetBackup\bin\userreq_notify.cmd
On UNIX: /usr/openv/netbackup/bin/userreq_notify
NetBackup calls the script each time a request is made to either of the following:
■ List files that are in backups or archives
■ Start a backup, archive, or restore
You can change this script to gather information about user requests to NetBackup.
Sound like userreq_notify is the one you need...