Networker

Re: [Networker] mminfo for getting tapes 4 months old?

2013-02-06 10:09:44
Subject: Re: [Networker] mminfo for getting tapes 4 months old?
From: Dag Nygren <dag AT NEWTECH DOT FI>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 6 Feb 2013 17:00:09 +0200
On Wednesday 06 February 2013 06:32:09 bingo wrote:
> Hi Dag,

Hi there!

> interesting - i actually tried this command using the -r option to see only 
> the volume name:
> 
> D:\nsr\bin>mminfo -m -q "family=tape,savetime>-4months" -r volume
> 6128:mminfo: only one of -m, -p, -B, -S, -X or -r may be specifiedusage: 
> mminfo [-avV] [-o order] [-s server] [-x exportspec] [report] [query] 
> [volname...]
> 
> <report>: [ -m | -p | -B | -S | -X | -r reportspec ]
> <query>:  [-c client] [-N name] [-t time] [-q queryspec]
> 
> D:\nsr\bin>
> 
> 
> Sure it will work without -r but then you must use additional code to filter 
> the volume name.

But you don't need the -m if you specify -r volume ??
The -m corresponds (equals?) to -r "state,volume,written,%used, 
volretent,read,mounts,capacity"

Best
Dag