Forum Discussion
3 Replies
- Claudio_VeronezLevel 6maybe 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_McMullinLevel 6I 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_goneLevel 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.
Related Content
- 2 years ago
- 4 years ago
- 12 years ago
- 13 years ago