Veritas-bu

[Veritas-bu] tapes ready for backup

2004-06-18 11:54:32
Subject: [Veritas-bu] tapes ready for backup
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Fri, 18 Jun 2004 09:54:32 -0600
oops!

Add a "-w" to the vmquery for wide output.

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Donaldson,
Mark - Broomfield, CO
Sent: Thursday, June 17, 2004 7:51 PM
To: esm AT mnemonic DOT no; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] tapes ready for backup


vmquery should be able to do this.  Empty tapes, ready for reuse, will have
an "Assigned time" (field 20 in the wide output) of "00/00/0000".  The
vmquery command will also accept a pool-name as a limiter in the output.

So something like:

vmquery -pn <poolname> | awk 'NR>3 && $3!~/CLN/ && $20~/00.00.00/ {print
$1}'

(the third field restriction keeps it from identifying cleaning tapes,
although the poolname would probably take care of that... the "NR" check
just skips the header on the output)

-M

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Espen
Martinsen
Sent: Thursday, June 17, 2004 3:52 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Cc: Espen Martinsen
Subject: [Veritas-bu] tapes ready for backup


hi,
   How can i on a command-line
    list which tapes are ready to be used for backup in
    a specific pool. that is, which tape has only backups with 
    retension-periods that is expired?


-- 
Yours
--------------------------------------------------------------
Espen Martinsen                       Email : esm AT mnemonic DOT no
Mnemonic AS, Waldemar Thranesgt. 77   Phone : +47 2299 9710/00
                                      Mobil : +47 915 88 485
N-0175 Oslo, NORWAY                   Fax   : +47 2299 9701
--------------------------------------------------------------
(PADI AOW 87191)                       http://www.mnemonic.no/
pgp print =  99CD 4027 36F4 0A4F 68DA 2925 327A 5BCF 9C21 F277


_______________________________________________
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

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