cancel
Showing results for 
Search instead for 
Did you mean: 

how to enable mail notification NB6.5.3

rajutp-123
Level 4

Hello All,
We are using Netbackup6.5.3 .is there any way that we can enable the mail notification for our scheduled jobs?
any help....?
3 REPLIES 3

Claudio_Veronez
Level 6
Partner Accredited
maybe it can help you

http://seer.entsupport.symantec.com/docs/261418.htm

http://seer.entsupport.symantec.com/docs/254809.htm

there is somethig about BLAT


I hope it helps


David_McMullin
Level 6
I use the backup_exit_notify.sh script provided by netbackup (on unix) along with the OS level mail facility
You may need to add lines for any other policy type.

# This script:
#       receives 5 parameters:
#         CLIENT           - the client hostname
#         POLICY           - the policy label
#         SCHEDULE         - the schedule label
#         SCHEDULE_TYPE    - the type of schedule:  FULL INCR UBAK UARC
#         STATUS           - the backup status for this job
#         STREAM           - the backup stream number for this job

I added these lines -

# check exit status, no notification on 0, 1 or 150, or DBA Child.Job
if [ $5 != 0 -a $5 != 1 -a $5 != 150 -a $3 != "Child.Job" ]
then
# check policy type and email ops and appropriate group!
        if /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep MS-Window
        then
                cat $OUTF | /usr/bin/mailx -s "WINDOWS NetBackup Error Status $5, Policy $2, Client $1" \
                operations@your-companies.com windows_support@your-companies.com
        elif /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep MS-Exchange
        then
                cat $OUTF | /usr/bin/mailx -s "EXCHANGE NetBackup Error Status $5, Policy $2, Client $1" \
                operations@your-companies.com exchange_support@your-companies.com
        elif /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep MS-SQL
        then
                cat $OUTF | /usr/bin/mailx -s "MS-SQL NetBackup Error Status $5, Policy $2, Client $1" \
                operations@your-companies.com dba@your-companies.com
        elif /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep Oracle
        then
                cat $OUTF | /usr/bin/mailx -s "ORACLE NetBackup Error Status $5, Policy $2, Client $1" \
                operations@your-companies.com dba@your-companies.com unix@your-companies.com
        elif /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep Sybase
        then
                cat $OUTF | /usr/bin/mailx -s "SYBASE NetBackup Error Status $5, Policy $2, Client $1" \
                operations@your-companies.com dba@your-companies.com unix@your-companies.com
        else
                cat $OUTF | /usr/bin/mailx -s "UNIX NetBackup Error Status $5, Policy $2, Client $1" \
                operations@your-companies.com unix@your-companies.com
        fi
fi

J_H_Is_gone
Level 6

There is the - tell me when everything finishes.
There is the - tell me when restores finish
There is the - tell me when jobs fail

Could be more helpful you could say what you want.  As some items require scripting, and some just require turning on.

Also need to know what OS your master is.