[Veritas-bu] Backup_exit_Notify script
2007-01-24 10:03:53
Subject: |
[Veritas-bu] Backup_exit_Notify script |
From: |
Ueli.Schweizer at AGITE-Software.com (Ueli Schweizer) |
Date: |
Wed, 24 Jan 2007 16:03:53 +0100 |
Hi Simon
Backup status is parameter 4. So just do
...
If "%4%" = "0" GOTO NOMAIL
REM Code to send mail
:NOMAIL:
...
UNIX:
...
if [ $4 -ne 0 ]
then
# code to send email
fi
...
Cheers
Ueli Schweizer
AGITE Software AG . Boesch 43 . CH-6331 Huenenberg . Switzerland
Direct: +41 79 204 9190 . Phone: +41 41 781 5678 . Fax: +41 41 781 5677
Ueli.Schweizer at AGITE-Software.com . http://www.AGITE-Software.com
backupVISUAL...
...we make life on backup easy
_____
From: veritas-bu-bounces at mailman.eng.auburn.edu
[mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf Of WEAVER,
Simon
Sent: Wednesday, January 24, 2007 3:06 PM
To: 'veritas-bu at mailman.eng.auburn.edu'
Subject: [Veritas-bu] Backup_exit_Notify script
Hi all
NBU 5.1 MP5 win2k3 SP1
I am using this script which I believe is responsible for sending out all
emails when a backup stream completes, regardless of the status.
Because I have SO many jobs running overnight (300+) I want to limit the
amount of emails I receive. specifically, I want to get notification if the
status completes at 1 or higher, rather than everything.
Am I looking in the right place to configure this?
Thank you
Regards
Simon Weaver
3rd Line Technical Support
Windows Domain Administrator
EADS Astrium Limited, B23AA IM (DCS)
Anchorage Road, Portsmouth, PO3 5PU
Email: <mailto:Simon.Weaver at Astrium-eads.net> Simon.Weaver at
Astrium-eads.net
This email (including any attachments) may contain confidential and/or
privileged information or information otherwise protected from disclosure.
If you are not the intended recipient, please notify the sender immediately,
do not copy this message or any attachments and do not use it for any
purpose or disclose its content to any person, but delete this message and
any attachments from your system.
Astrium disclaims any and all liability if this email transmission was virus
corrupted, altered or falsified.
---------------------------------------------------------------------
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS,
England
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20070124/90aee6ad/attachment.htm
|
|
|