mail_dr_info script
Use the mail_dr_info.cmd script (on Windows) and the mail_dr_info.sh script (on UNIX) to send NetBackup disaster recovery information to specified recipients after running an online, hot catalog backup.
By default, this script does not exist. You must create it. How you do so depends on the operating system type of your primary server.
On Windows: To create the script, copy the following script from the primary server:
Install_path\NetBackup\bin\goodies\nbmail.cmd
and place it into the following location:
Install_path\NetBackup\bin\mail_dr_info.cmd.
On UNIX: To create the script, touch the following file:
/usr/openv/netbackup/bin/mail_dr_info.sh
NetBackup passes the following parameters to the script:
%1 | Specifies the recipient's address. For multiple addresses, enter email1,email2 |
%2 | Specifies the subject line. |
%3 | Specifies the message file name. |
%4 | Specifies either the path or a comma-separated list for the path to the recovery email and the disaster recovery (DR) package. |
On Windows: NetBackup checks to see if mail_dr_info.cmd is present in Install_path\NetBackup\bin. If mail_dr_info.cmd exists, NetBackup passes the parameters to the script.
Note:
On UNIX: NetBackup checks to see if mail_dr_info.sh is present in /usr/openv/netbackup/bin. If mail_dr_info.cmd exists, NetBackup passes the parameters to the script. mail_dr_info.sh is not an installed file. Users must create the script.