On Jul 15, 2004, at 9:53 PM, Jamie Wilkinson wrote:
This one time, at band camp, Jamie Wilkinson wrote:
So I'm wondering if there's a amadmin command or somesuch that we can
use
that'll tell us which tapes are in the set of tapes required to do a
full
restore from, i.e. for all DLEs (I think that's the correct term) the
tapes
that hold that image back to the most recent level 0, inclusive.
I am super grateful for those posters that follow-up with conclusions
and/or solutions... That's totally awesome.
And this is an interesting topic, too. Great question!
... I found that amadmin export's
stats field lists only those tapes that have not yet been superceded,
i.e.
the latest level 0, any level 1s after that, etc, which is exactly
what I
need:
/usr/sbin/amadmin foo export | grep stats | cut -f8 -d' ' | sort | uniq
Are we sure that this answers the question that was asked? i.e. is it
the
correct answer in limited number of cases but not all cases? Is your
test case a coincidence?
This is certainly motivating me to take a closer look at my tapes. I
thought
I could restore in much fewer tapes than what that pipeline indicates.
However, it's late and I'm tired, so I may not be grokking this.
Cheers
DK
|