Veritas-bu

[Veritas-bu] I need a script that will....

2002-07-05 11:38:49
Subject: [Veritas-bu] I need a script that will....
From: dave.markham AT icl DOT net (David Markham)
Date: Fri, 5 Jul 2002 16:38:49 +0100
what about backup_exit_notify. Just append bperrcode $5  ( or whatever
status is ) to $OUTF then mail u the results.

This does this after each backup ran and i have a copy of these so can back
track easily

D

-----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 Wout
Mertens
Sent: 05 July 2002 15:20
To: Metcalf, Bob
Cc: 'Veritas-bu AT mailman.eng.auburn DOT edu'
Subject: Re: [Veritas-bu] I need a script that will....


On Mon, 1 Jul 2002, Metcalf, Bob wrote:

> Do the following:
>
>    -  Report on jobs run in the last 16 hours
>    -  Provide status, class, schedule, start time, end time
>
> The canned mail_bp_reports in /usr/openv/netbackup/bin/goodies
> comes close, using bperror.  This allows me to use the
> the    hoursago     flag to specify how far back I want to
> look.  But it does not report start time.
>
> I can get this info through bpdbjobs and use awk to cut it
> up, but it doesn't have the   hoursago  functionality.

This script will nicely summarise per job. It reports the ending time
however, a much more useful parameter imho. But you can change that
according to your liking of course.

The reportformat file was created using xbpmon.

Hope this helps,

Wout.


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