Networker

Re: [Networker] mminfo query problem with savetimes

2006-05-08 01:35:11
Subject: Re: [Networker] mminfo query problem with savetimes
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Sun, 7 May 2006 22:32:35 -0700
> /usr/sbin/mminfo -o t -q "pool=Monthly, savetime>=182 days ago, 
> location=L700" -r volume | sort -u
> 
> Now I have used a Relative savetime of "26 weeks ago", "6 months ago" and so 
> on.
> 
> They all more or less report the same list of vols for (which is good),
> but in fact, the list is reporting volumes that are less than 6 months old!
> I am even getting a list of vols that are only a couple of weeks old.

Right.  The 'savetime' is when the backup happened.  If that time is
greater than some point in the past, then the backup is more recent than
that point.  If you want older backups you want '<'.

> Now if I transpose the ">" (Greater Than) symbol, to "<" (Less Than),
> I get a lot closer to the list of vols required.

Good.

> So, after getting another person to examine the above query and
> checking I haven't got dyslexic with my "<" or ">" symbols,
> we have come to the conclusion that there is a problem with mminfo.

Don't think of the statement as "more than six months ago".  Think
instead "saved later than a point in time six months ago".

-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

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
wit 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

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