<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Basics &#8211; mminfo, savetime and greater than/less than</title>
	<atom:link href="http://nsrd.info/blog/2009/02/01/basics-mminfo-savetime/feed/" rel="self" type="application/rss+xml" />
	<link>http://nsrd.info/blog/2009/02/01/basics-mminfo-savetime/</link>
	<description>EMC NetWorker commentary from a long term backup consultant and theorist</description>
	<lastBuildDate>Mon, 06 Feb 2012 20:14:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Brett</title>
		<link>http://nsrd.info/blog/2009/02/01/basics-mminfo-savetime/comment-page-1/#comment-42</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Wed, 25 Nov 2009 01:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=46#comment-42</guid>
		<description>Hi Preston!
From some testing I did, it looks like &quot;3 week&quot; will be converted to a time 3 weeks in the future of the current time while &quot;3 week ago&quot; will be converted to a time 3 weeks in the past of the current time.
I still think &quot;ago&quot; should be documented in the nsr_getdate(3) man page. A couple of examples in the mminfo(1m) man page isn&#039;t documentation. Even the mminfo man page says time attributes are specified in nsr_getdate(3)

Regards,

brett</description>
		<content:encoded><![CDATA[<p>Hi Preston!<br />
From some testing I did, it looks like &#8220;3 week&#8221; will be converted to a time 3 weeks in the future of the current time while &#8220;3 week ago&#8221; will be converted to a time 3 weeks in the past of the current time.<br />
I still think &#8220;ago&#8221; should be documented in the nsr_getdate(3) man page. A couple of examples in the mminfo(1m) man page isn&#8217;t documentation. Even the mminfo man page says time attributes are specified in nsr_getdate(3)</p>
<p>Regards,</p>
<p>brett</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Preston</title>
		<link>http://nsrd.info/blog/2009/02/01/basics-mminfo-savetime/comment-page-1/#comment-41</link>
		<dc:creator>Preston</dc:creator>
		<pubDate>Tue, 24 Nov 2009 23:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=46#comment-41</guid>
		<description>Hi Brett,

It&#039;s certainly referenced in the mminfo documentation; if you check that, you&#039;ll notice it used multiple times in the examples given.

As to the discrepancy you encountered - I&#039;d been using &quot;ago&quot; for so long now that I&#039;ve not run the alternative for years.

Doing a few basic tests, it appears to me that &quot;savetime&lt;X week&quot; actually gets ignored by NetWorker. E.g., here&#039;s what I got from:

&lt;PRE&gt;
[root@nox ~]# mminfo -q &quot;pool=Staging,savetime&lt;3 week&quot; -otR &#124; head -5
 volume        client       date      size   level  name
Staging-01.RO  nox              11/25/2009 38 MB 9  index:archon
Staging-01     nox              11/25/2009 38 MB 9  index:archon
Staging-03.RO  archon    11/25/2009   4  B    incr  /Volumes/TARDIS/Yojimbo
Staging-03     archon    11/25/2009   4  B    incr  /Volumes/TARDIS/Yojimbo
&lt;/PRE&gt;

That&#039;s clearly (as of the time I write this reply) from today. However, if I run it with the &quot;3 weeks ago&quot;, I get what I should get:

&lt;PRE&gt;
[root@nox ~]# mminfo -q &quot;pool=Staging,savetime&lt;3 weeks ago&quot; -otR &#124; head -5
 volume        client       date      size   level  name
Staging-01.RO  loki      11/04/2009 497 KB    incr  /
Staging-01     loki      11/04/2009 497 KB    incr  /
Staging-01.RO  loki      11/04/2009   4  B    incr  /boot
Staging-01     loki      11/04/2009   4  B    incr  /boot
&lt;/PRE&gt;

So it looks to me that we have an instance of mminfo interpreting &quot;3 week ago&quot; differently to what we&#039;d expect (I.e., it&#039;s coming back as &quot;now&quot;, somehow), but &quot;3 weeks ago&quot; is the correct invocation.

Cheers,

Preston.</description>
		<content:encoded><![CDATA[<p>Hi Brett,</p>
<p>It&#8217;s certainly referenced in the mminfo documentation; if you check that, you&#8217;ll notice it used multiple times in the examples given.</p>
<p>As to the discrepancy you encountered &#8211; I&#8217;d been using &#8220;ago&#8221; for so long now that I&#8217;ve not run the alternative for years.</p>
<p>Doing a few basic tests, it appears to me that &#8220;savetime&lt;X week&quot; actually gets ignored by NetWorker. E.g., here&#039;s what I got from:</p>
<pre>
[root@nox ~]# mminfo -q &#8220;pool=Staging,savetime&lt;3 week&quot; -otR | head -5
 volume        client       date      size   level  name
Staging-01.RO  nox              11/25/2009 38 MB 9  index:archon
Staging-01     nox              11/25/2009 38 MB 9  index:archon
Staging-03.RO  archon    11/25/2009   4  B    incr  /Volumes/TARDIS/Yojimbo
Staging-03     archon    11/25/2009   4  B    incr  /Volumes/TARDIS/Yojimbo
</pre>
<p>That&#8217;s clearly (as of the time I write this reply) from today. However, if I run it with the &#8220;3 weeks ago&#8221;, I get what I should get:</p>
<pre>
[root@nox ~]# mminfo -q &#8220;pool=Staging,savetime&lt;3 weeks ago&quot; -otR | head -5
 volume        client       date      size   level  name
Staging-01.RO  loki      11/04/2009 497 KB    incr  /
Staging-01     loki      11/04/2009 497 KB    incr  /
Staging-01.RO  loki      11/04/2009   4  B    incr  /boot
Staging-01     loki      11/04/2009   4  B    incr  /boot
</pre>
<p>So it looks to me that we have an instance of mminfo interpreting &#8220;3 week ago&#8221; differently to what we&#8217;d expect (I.e., it&#8217;s coming back as &#8220;now&#8221;, somehow), but &#8220;3 weeks ago&#8221; is the correct invocation.</p>
<p>Cheers,</p>
<p>Preston.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://nsrd.info/blog/2009/02/01/basics-mminfo-savetime/comment-page-1/#comment-40</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Tue, 24 Nov 2009 22:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=46#comment-40</guid>
		<description>Great blog. Lots of good technical networker info. Thanks!
Where is &quot;ago&quot; as in &quot;2 weeks ago&quot; documented? I certainly didn&#039;t see it in nsr_getdate(3).
I believe nsr_getdate mentions relative time is [number] unit.


There also seems to be a difference in the below queries
mminfo -q &quot;pool=pool1, savetime&lt;4 week&quot;
mminfo -q &quot;pool=pool1, savetime&lt;4 week ago&quot;</description>
		<content:encoded><![CDATA[<p>Great blog. Lots of good technical networker info. Thanks!<br />
Where is &#8220;ago&#8221; as in &#8220;2 weeks ago&#8221; documented? I certainly didn&#8217;t see it in nsr_getdate(3).<br />
I believe nsr_getdate mentions relative time is [number] unit.</p>
<p>There also seems to be a difference in the below queries<br />
mminfo -q &#8220;pool=pool1, savetime&lt;4 week&quot;<br />
mminfo -q &quot;pool=pool1, savetime&lt;4 week ago&quot;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Top 5 Reflections &#171; NetWorker Blog</title>
		<link>http://nsrd.info/blog/2009/02/01/basics-mminfo-savetime/comment-page-1/#comment-39</link>
		<dc:creator>Top 5 Reflections &#171; NetWorker Blog</dc:creator>
		<pubDate>Thu, 16 Jul 2009 22:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=46#comment-39</guid>
		<description>[...] 4 was Basics – mminfo, savetime and greater than/less than. Now, I&#8217;m not going to pretend that every person who visited that article was looking for [...]</description>
		<content:encoded><![CDATA[<p>[...] 4 was Basics – mminfo, savetime and greater than/less than. Now, I&#8217;m not going to pretend that every person who visited that article was looking for [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic

Served from: nsrd.info @ 2012-02-09 19:22:25 -->
