Highlighted

Restore email notification

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

1 Solution

Accepted Solutions
Highlighted
Accepted Solution!

About the scripts... Have you

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

View solution in original post

4 Replies
Highlighted

Not without scripting it.

Not without scripting it. You can't do that from Netbackup.
Highlighted

Trying to figure out the

Trying to figure out the NetBackup restore_notify and userreq_notify scripts

 

Highlighted

Either allow people to do

Either allow people to do restores or disable client side restores. Host Properties - > Master - > Client Attributes
Highlighted
Accepted Solution!

About the scripts... Have you

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

View solution in original post