Forum Discussion

Thomas_Anthony's avatar
10 years ago

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...
  • Marianne's avatar
    10 years ago

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