[Veritas-bu] deriving the mediaid of successful backup
Might have worked too hard.
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".
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
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?
UNIX System Administrator
Johnson & Wales University -- Providence, RI
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu