Networker

[Networker] Need some advice about an mminfo query and savetime

2008-02-08 15:43:38
Subject: [Networker] Need some advice about an mminfo query and savetime
From: MIchael Leone <Michael.Leone AT PHA.PHILA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 8 Feb 2008 15:38:47 -0500
I want my query to return all savesets on my aftd devices that have been 
cloned to tape (i.e., copies > 2), and that were made 2 days ago. 
Specifying the time criteria is confusing me; does this look right?

mminfo -r "ssid,cloneid,client,name,savetime(22),totalsize(2),copies" -q 
"client=%machine%,volume=%tapevol%,copies>2,savetime<2 day 17:00"

(I want any savesets created 2 days ago, prior to 5PM of 2 days ago. i.e., 
I want to see anything created after 5PM on Wed, since today is Friday)

I explicitly do *not* want to return any savesets created yesterday (Thu, 
in our example). Those I want to leave on the aftd device; the ones that 
are 2 days old (or older), I will pass to "nsrmm -y -d -S ".

Thanks

-- 
Michael Leone
Network Administrator, ISM
Philadelphia Housing Authority
2500 Jackson St
Philadelphia, PA 19145
Tel:  215-684-4180
Cell: 215-252-0143
<mailto:michael.leone AT pha.phila DOT gov>

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