Veritas-bu

[Veritas-bu] Netbackup v4.5 - What tapes were used between a given time period

2003-11-13 13:11:29
Subject: [Veritas-bu] Netbackup v4.5 - What tapes were used between a given time period
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Thu, 13 Nov 2003 11:11:29 -0700
Heck, forgot an easier variant, use the same time options (-d,-e or
-hoursago) and the "-media" option.  Skips the whole awk/sort thing.

-M

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com]
Sent: Thursday, November 13, 2003 10:08 AM
To: 'Paul Porcelli'; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Netbackup v4.5 - What tapes were used between
a given time period


You can use a variant on bpimagelist:

Run this right at 8:00 (via cron or something):
bpimagelist -hoursago 9 | awk '$1=="FRAG" {print $9}' | sort -u

...or...

Calculate the dates (GNU date command will do this):

bpimagelist -d MM/DD-1/YY 23:00 -e MM/DD/YY 08:00 | awk '$1=="FRAG" {print
$9}' | sort -u

-M

-----Original Message-----
From: Paul Porcelli [mailto:Paul.Porcelli AT aggreko DOT biz]
Sent: Thursday, November 13, 2003 9:28 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Netbackup v4.5 - What tapes were used between a given
time period


Hi folks,
have just started using NetBackup and have been tasked with
writing a script to eject tapes used bewteen 23:00 and 08:00
How/Where can I get info about the tapes used during this time
period?

Is there a corresponding data file to the Detailed Status info
available via the Activity Monitor ?

Many thanks for any info/pointers etc.

==
Paul Porcelli

Visit us at www.aggreko.com





 Confidentiality Notice:  This communication and any accompanying
attachments contain confidential information intended for a specific
individual and purpose.  This communication is private and protected by law.
If you are not the intended recipient, you are hereby respectfully notified
that any disclosures, copying, forwarding or distribution, or the taking of
any action based on the contents of this communication is strictly
prohibited. 




 
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

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