Ciolek, Ken wrote :
I need to list the available tapes each day that have space available and
can be used for backups.
You can use the following mminfo queries for instance :
Empty tapes :
mminfo -q "near,written=0,!volrecycle" -r volume,pool,barcode
Recyclable tapes :
mminfo -q "near,volrecycle" -r volume,pool,barcode
Partially filled tapes :
mminfo -q "near,!full,written>0" -r volume,pool,barcode,written
If you are interested in tapes that are not necessarily in your library,
you can remove the "near", and add "location" to the fields listed after
the -r.
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|