Networker

Re: [Networker] List tapes available

2004-12-08 12:08:19
Subject: Re: [Networker] List tapes available
From: Philippe Michel <philippe.michel AT THALES-IS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 8 Dec 2004 18:07:20 +0100
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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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