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\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.
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