Re: [Networker] mminfo query
2007-09-24 17:42:56
On Mon, Sep 24, 2007 at 02:28:50PM -0400, Kantor, Adam wrote:
> So you're saying the output is actually opposite of the greater than or
> less than sign?
How so? That's not what I intended to say.
> Should I be changing the command to incoporate the
> 'nsavetime' parameter instead?
No. That wouldn't change anything. The only difference between
'savetime' and 'nsavetime' is a display format. When comparing, they
are identical.
As an example let's presume I did two backups at noon local time on
these dates:
saveset on Sep 1
saveset on Sep 20 (All times US/Pacific)
# mminfo -av -r 'savetime,nsavetime' would produces something like:
savetime nsavetime
Sep 1 2007 1188673200
Sep 20 2007 1190314800
Now I ask for all savesets that match 'savetime<"2 weeks ago". 2 weeks
ago was Sep 10, or around 1189450800 in epoch time.
'savetime < "2 weeks ago"' is roughly equal to
'savetime < 11894580800'
For the two savesets, the first one (Sep 1) matches that condition and
is printed:
1188673200 < 11894580800
--
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 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
|
|
|