Veritas-bu

[Veritas-bu] Email Failed Backups Only

2004-01-28 16:38:49
Subject: [Veritas-bu] Email Failed Backups Only
From: nancy.corbett AT attws DOT com (Corbett, Nancy)
Date: Wed, 28 Jan 2004 13:38:49 -0800
If you want it to email you every time a backup fails, as opposed to
sending you a compiled report of daily failures, here's what I would
do...

Modify the /usr/openv/netbackup/bin/backup_exit_notify script by right
under this line:

# might want to mail this info to someone 

And add this:

if [ $5 != 0 ]
then
   cat $OUTF | mailx -s "Backup of $1 exited with status $5"
you AT email DOT com
fi
------

This script is managed by bpsched and runs automatically every time a
backup completes. If you add an if statement like the one above, it will
email you every time it runs and finds a backup status of anything other
than 0.

Nancy



-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Paul
Porcelli
Sent: Monday, January 26, 2004 1:43 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Email Failed Backups Only


We currently have backup info emailed via the Host Properties(Global
Properties) option in the GUI. This emails successful backups as well as
failures.

Is there any way to setup NetBackup to only email 
failed backups.

Thanks a lot.
==
Paul Porcelli


Visit us at www.aggreko.com 

________________________________________________________________________
 
  Confidentiality Notice:  This  communication  and  any  accompanying
  attachments contain confidential information intended for a specific
  individual and purpose.  This communication is private and protected
  by law.  If  you are  not the  intended  recipient,  you are  hereby
  respectfully  notified that any disclosures,  copying, forwarding or
  distribution, or the  taking of any action  based on the contents of
  this communication is strictly prohibited.
________________________________________________________________________

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


<Prev in Thread] Current Thread [Next in Thread>