madhutrack1,
/installpath/netbackup/bin/backup_exit_notify is the script in question, you just need to modify it at the bottom.
Here is a cut and paste of my script.
#! /bin/sh
# $Header: /ovsrc/int/CVS/src/nb/tools/backup_exit_notify.sh,v 1.2 2002/11/20 02:10:35 $
#bcpyrght
#***************************************************************************
#* $VRTScprght: Copyright 1993 - 2003 VERITAS Software Corporation, All Rights Reserved $ *
#***************************************************************************
#ecpyrght
#
# backup_exit_notify.sh
#
# This script is called by the NetBackup scheduler, after an individual
# client backup has completed (including media closure and image db validation.
#
# NOTE: this script will always be run in "background" mode, meaning that
# the NetBackup scheduler will NOT wait for it's completion.
#
# 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
# must be executable by the root user
# should exit with 0 upon successful completion
OUTF=/usr/openv/netbackup/bin/BACKUP_EXIT_CALLED
# --------------------------------------------------------------------
# main script starts here
# --------------------------------------------------------------------
if [ "$#" -lt 6 ]
then
echo `date` "backup_exit_notify expects at least 6 parameters: $*" >> $OUTF
exit 1
fi
# You may want to delete the output file elsewhere in order to
# accumulate successful backup information.
# If so, comment out the following 4 lines.
if [ -s $OUTF ]
then
/bin/rm -rf $OUTF
fi
if [ ! -f $OUTF ]
then
touch $OUTF
fi
echo `date` "-----------------------------" >> $OUTF
echo `date` " CLIENT: $1" >> $OUTF
echo `date` " POLICY: $2" >> $OUTF
echo `date` " SCHEDULE: $3" >> $OUTF
echo `date` "SCHEDULE TYPE: $4" >> $OUTF
echo `date` " STATUS: $5" >> $OUTF
echo `date` " STREAM: $6" >> $OUTF
echo `date` "-----------------------------" >> $OUTF
#
# might want to mail this info to someone
# usually nobody wants to see status' 0 or 1
if [ "$5" -gt 1 ]; then
cat $OUTF | mailx -s "Backup Failure on $1 State $5!" you@yourdomain.com,yourpager@paging.pager.com
fi
exit 0