Hi ANurag,
I am not aware of BLAT, but you can do the same using the
backup_exit_notify script.
Script exists in the /usr/openv/netbackup/bin path. put the "if" condition
. below is the example condition from my environment.
if [ $5 != 0 ]
then
if [ $5 == 1 ]
then
echo "BACKUP COMPLETED WITH STATUS PARTIALLY SUCCESSFUL ON `hostname`
FOR CLIENT $1" | mail -r "[email protected]" -s
"BACKUP COMPLETED WITH STATUS PARTIALLY SUCCESSFUL ON `hostname` FOR
CLIENT $1" <[email protected]>
else
cat $OUTF | mail -r "[email protected]" -s "BACKUP
FAILED ON `hostname` FOR CLIENT $1 WITH ERROR CODE $5"
<[email protected]>
fi
fi
Rgds
Abhishek Dhingra
OLM ID : A1384552
Email : [email protected]
Anurag Sharma <[email protected]>
Sent by: [email protected]
12/23/2011 01:56 PM
To
veritas-bu <[email protected]>
cc
Subject
[Veritas-bu] FW: BLAT statement would not send e-mails for status 1
Guys,
Please help.!!!
Anurag
From: [email protected]
To: [email protected]; [email protected]
Subject: BLAT statement would not send e-mails for status 1
Date: Fri, 23 Dec 2011 06:03:30 +0530
Hi All,
I have successfully configured BLAT with nbmail. This is has led to lot of
email for the jobs completing with status code1.
Is there anyway to configure BLAT in such a manner so that it would not
send email for status 1 partially successful backups.
Anurag
_______________________________________________
Veritas-bu maillist - [email protected]
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist - [email protected]
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu