Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Notification for Policy Back Up

Status
Not open for further replies.

abhi1024

Programmer
Dec 20, 2003
55
0
0
US
Hi,
We have just configured Veritas Netbak 6.5.3 in our organization. We want to set up email notification for a policy that backs up several machines every night are want to do the following
(a) Send out an email when the back up of policy starts with the clients it has to back up
(b) when the back up job for the policy completes,email the clients that were backed up successfully, clients in the policy that failed and the tape ids that were used

Can somebody point me in the right direction? We are new to netbakup
 
Well I'm not sure about 6.5 but in 6.0, and to get you started, there is a script template in the bin area of your Master Server install called backup_exit_notify.
Have a look at that, you may need to do some custom scripting in there to email different people for different clients. Use a simple case statement for this, eg.

case $1 in
ukexmb0[1-6]) cat $OUTF | mailx -s "Exchange $1:$STATUS" <somebody>;;
uksmtp0[1-6]) cat $OUTF | mailx -s "SMTP $1:$STATUS" <somebody>;;
ukexpf0[1-2]) cat $OUTF | mailx -s "Exchange $1:$STATUS" <somebody>;;
esac

Alternatively, on each client you can create bpstart_notify and bpend_notify scripts. Again, you may need to do some custom scripting to get the tape id's, but it is all possible.

Hope this helps

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top