Networker

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

2013-02-05 14:13:25
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 14:12:56 -0500
> 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.
> 
> 
> Hi Michael, that would give me everything between that time frame, 
> however i want to also get from exactly 4 months ago.  Say Jan 1 - 
> Jan 7. 

mminfo -q "savetime>01/01/xxx,savetime<01/07/xxx"

Will give you any tapes written between midnight Jan 1 and midnight Jan 7.

> Or could I use that command and replace starting Wednesday 
> and replace with say, starting 12 weeks ago ending 11 weeks ago?

Replace it with any starting and ending dates you want, yes.

You may have to run the command multiple times, listing the different 
specific date range(s) you want,