Re: [Veritas-bu] Command to use for soon to be expired tapes
2009-04-20 13:48:51
You could do something like this...
bpmedialist -mlist -rl 9 -l|awk '{print $13,$7,$1}'|sort -n -k1 -k2
This will print, respectively, pool number, tape expiration date (epoch
time) and tape number.
You'll have to do a little conversion after the fact to convert pool
number to pool name and epoch time to readable time. Just a few loops
will do it.
HTH
-M
-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of
WALLEBROEK Bart
Sent: Monday, April 20, 2009 7:44 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Command to use for soon to be expired tapes
What would be the best command to use in NetBackup to receive a list
with tapes that will expire soon (like bpmedialist -summary) but sorted
on the Media Pool they belong to ?
I do not see any option in bpmedialist that can do this.
Best Regards,
Bart WALLEBROEK
Backup admin SWIFT
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|