cancel
Showing results for 
Search instead for 
Did you mean: 

Restore email notification

Thomas_Anthony
Level 5

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 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

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 4

revarooo
Level 6
Employee
Not without scripting it. You can't do that from Netbackup.

Thomas_Anthony
Level 5

Trying to figure out the NetBackup restore_notify and userreq_notify scripts

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Either allow people to do restores or disable client side restores. Host Properties - > Master - > Client Attributes

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

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