The easiest way to check for 'allowance' to overwrite is to query the
'recyclable' flag for the volume.
mminfo -q "recyclable" -r "volume" > outfile
You may of course also use your more complicated query.
However, instead of "savetime" let me suggest to use the retention date
(ssretent). If you have multiple retention periods, this is the only parameter
you can rely on.
You commands should look like this:
mminfo -q "volume=<volname>" -r "client,name,level,savetime,ssretent" -ot
-xc, > outfile
Do not forget that you must use one command per volume.
You may omit unnecessary parameters in the '-r' section.
+----------------------------------------------------------------------
|This was sent by carsten_reinfeld AT avus-cr DOT de via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|