[Veritas-bu] deriving the mediaid of successful backup
2003-12-11 16:51:27
Might have worked too hard.
(v4.5)
bpimagelist -media -policy <classname> -sl <sched> -hoursago 12
Change the -hoursago to what you want or use the date range options. If
you've got v3.4 change "-policy" to "-class".
-M
-----Original Message-----
From: William Enestvedt [mailto:William.Enestvedt AT jwu DOT edu]
Sent: Thursday, December 11, 2003 12:43 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] deriving the mediaid of successful backup
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
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|