The daily backup status report is one we
generate at 9 AM ever day via a cron entry.
00 9 * * * /root/scripts/status.sh
The script the cron job runs is:
#!/bin/sh
# Shell to generate BR status report and
mail to admins
echo "Subject: Atubks01 Backup
Status Report" > /tmp/status
/usr/openv/netbackup/bin/admincmd/bperror
-U -backstat -s info >> /tmp/status
/usr/bin/mail user1 AT ourdomain DOT com,user2 AT ourdoamin DOT com
< /tmp/status
^^^END OF SCRIPT^^^
Of course you can add as many recipients
at you want and I’ve obfuscated our real ones to prevent spam. This is
running on HP-UX 11.11 (a/k/a 11i v1)
The report we get gives us the exit status
of all the jobs run in the last 24 hours both 0 and non-zero exit status. Its
good for a quick glance in the morning to see if anything has gone horribly
wrong.
The individual emails are better for
seeing things pop up throughout the day.
From: Mark Glazerman
[mailto:Mark.Glazerman AT spartech DOT com]
Sent: Thursday, May 29, 2008 4:40
PM
To: Jeff Lightner;
VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu]
Individual backup status emails
Jeff,
We’ve seen
some strange stuff going on with our email notifications too. For about 3
days we didn’t get any catalog notifications and then all of a sudden
they started up again. As far as we know we are getting all the non 0
failure notifications too. Luckily we don’t have a huge backup
environment so it’s easy to check that the failures in the admin console
match with the emails we receive and vice versa.
I’m interested
to know what you mean by the daily full status report ? Is this something
new in 6.5 that shows an overall picture of the previous nights backups ?
How do you activate that feature ?
Mark
Glazerman
Desk: 314-889-8282
Cell: 618-520-3401
P please don't print this e-mail unless you really need to
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Jeff Lightner
Sent: Thursday, May 29, 2008 7:38
AM
To:
VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Individual
backup status emails
I’ve
noticed since our upgrade to 6.5 that while we do get the occasional
individual non-zero status email for individual backups we’re obviously
not getting them all.
We
are getting the daily full status report and as noted do get some of the
individual ones but I don’t see a pattern to what we do get and
don’t get.
Has
anyone seen this and if so did you figure out what it was?
Even
though I was able to verify sendmail was working on the master by generating
mail at the command line I went ahead and bounced sendmail
yesterday. However, this morning I can still see some items that
had non-zero exit which didn’t send email.
This
NBU 6.5 on HP-UX 11.11.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential
information and is for the sole use of the intended recipient(s). If you are
not the intended recipient, any disclosure, copying, distribution, or use of
the contents of this information is prohibited and may be unlawful. If you have
received this electronic transmission in error, please reply immediately to the
sender that you have received the message in error, and delete it. Thank you.
----------------------------------