[Veritas-bu] deriving the mediaid of successful backup
2003-12-11 14:42:33
Subject: |
[Veritas-bu] deriving the mediaid of successful backup |
From: |
William.Enestvedt AT jwu DOT edu (William Enestvedt) |
Date: |
Thu, 11 Dec 2003 14:42:33 -0500 |
Richard Markham wrote:
>
> I'd like to script a process that would check that a particular
> class/schedule ran and completed successfully the night before
> and then derive the media id(s) used.
>
I wrote a script to this, and it's so scary-lookin' that I keep it locked in
a cage in the basement of my Master Server.
It does the following, roughly: Find a list of successful backups, use the
PID (or job ID?) to identfy the '*.t' file, and grep through that for a barcode.
Yes, it's ugly, but I get a nice email every day. :7) Want me to look at it
to identify the commands it uses?
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson & Wales University -- Providence, RI
|
|
|