Veritas-bu

[Veritas-bu] Execute a script after failed / successful backu p?

2004-09-16 14:50:32
Subject: [Veritas-bu] Execute a script after failed / successful backu p?
From: jeffm AT nicusa DOT com (Jeff McCombs)
Date: Thu, 16 Sep 2004 14:50:32 -0400
Ah-ha. Just didn't look hard enough. :)

Thanks,

-jeff

On 9/16/04 11:43 AM, "Mark.Donaldson AT cexp DOT com" <Mark.Donaldson AT cexp 
DOT com>
wrote:

> You probably want the backup_exit_notify script in ../netbackup/bin on the
> master server.
> 
> # 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
> 
> 
> You can check the status for success/fail and make a custom lookup for
> policy & schedule if you want.
> 
> -M
> 
> -----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 Jeff
> McCombs
> Sent: Wednesday, September 15, 2004 7:16 PM
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] Execute a script after failed / successful backup?
> 
> 
> Gang,
> 
>     I'm looking for a way to execute a script after each successful or
> failed backup..
> 
>     I know that the backup_notify scripts exist, but even if a backup fails,
> that script claims that it was fine... Is there an easy way to do this? I'd
> like to use something like this in conjunction with net-snmpd to send traps
> back to our monitoring system....
> 
>     on a side note, what happened to backupscripts.com?
> 
> -Jeff
> 

-- 
 ³If you try to fail, and you succeed, what did you just do?²
 -----------------------------------------------------------------------
   Jeff McCombs (jeffm AT nicusa DOT com)                            NIC, Inc.
   Systems Administrator                      1477 Chain Bridge Rd #101.
   (703) 909-3277 - Cell                             McLean, VA 22101
                    "NIC, Inc. - The people behind eGovernment"

CONFIDENTIALITY NOTICE:
This E-mail and any attachments are confidential. If you are not the
intended recipient, you do not have permission to disclose, copy,
distribute, or open any attachments. If you have received this E-mail in
error, notify us immediately by returning it to the sender and delete this
copy from your system.
 






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