Networker

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

2013-02-05 13:24:49
Subject: Re: [Networker] mminfo for getting tapes 4 months old?
From: Michael Leone <Michael.Leone AT PHA.PHILA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 5 Feb 2013 13:24:11 -0500
> Morning everyone,
>    I'm looking to generate an mminfo of tapes generated exactly 4 
> months ago (specifically 4 months ago, any times from that tuesday 
> to the previous wednesday) .  My goal is to get a sliding window of 
> a week of tapes generated exactly within that time period.  I can't 
> use mminfo -m -t 'four months ago' as that only gives me tapes 
> within the last 4 months.  Any thoughts?

Why not "mminfo -q "savetime>starting Wednesday,savetime<ending Wednesday" 
-r volume,client, etc etc etc ?

That should give you every tape written between Wednesday and Tuesday.