cancel
Showing results for 
Search instead for 
Did you mean: 

/opt/openv/netbackup/bin/goodies/mail_bp_reports- How to costomize

eda_team
Level 4

Hi,

 

I am using netbackup 6.5,there is one script mail_bp_report which gives the bpimgae list,error etc,

 

I dont know how to customize the script,i have tried but only i am getting the mail without any output.

 

Can some body help me out customize the script.

 

Thanks

 

3 REPLIES 3

Reagan
Level 5
Partner Accredited Certified

On the top of the script, add a MAILTO line:

 

#!/bin/sh
# $Header: mail_bp_reports.sh,v 1.3 2004/01/15 15:35:01 $

MAILTO=backup_slave@email.com

 

 

On the lines with "mail_cmd", add $MAILTO at the end of the lines.  

 

cat $OUTFILE | mail_cmd "My Company's NetBackup backup status" $MAILTO

 

cat $OUTFILE1 | mail_cmd "My Company's  NetBackup problems log" $MAILTO

 

cat $OUTFILE2 | mail_cmd "My Company's NetBackup cleaning stats" $MAILTO

 

Karthikeyan_Sun
Level 6

Hi,

 

Is it possible to Write my own Script in Veritas to mail like parent_end_notify.cmd.

 

I am using windows Server

 

Kindly help me!!!

sdo
Moderator
Moderator
Partner    VIP    Certified
What are you hoping to achieve?