userreq_notify script
The userreq_notify.cmd script (on Windows) and the userreq_notify script (on UNIX) run on the primary server.
To use this script, copy the script to the bin directory:
UNIX:
/usr/openv/netbackup/bin/goodies/userreq_notify to /usr/openv/netbackup/bin
Windows:
install_path\netbackup\bin\goodies\userreq_notify.cmd to install_path\netbackup\bin
Modify the script and confirm that you have permission to run the script.
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.
NetBackup passes the following parameters to the script:
action | Specifies the action and can have the following values: backup, archive, manual_backup, restore, list |
clientname | Specifies the client name. |
userid | Specifies the user ID. |
See the following UNIX example:
userreq_notify backup mercury jdoe userreq_notify archive mercury jdoe userreq_notify manual_backup mercury jdoe userreq_notify restore mercury jdoe userreq_notify list mercury jdoe