Networker

Re: [Networker] mminfo; excluding certain values of "name" queryspec

2011-07-20 13:10:56
Subject: Re: [Networker] mminfo; excluding certain values of "name" queryspec
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 20 Jul 2011 17:10:44 +0000
On Wed, Jul 20, 2011 at 11:56:10AM -0400, Michael Leone wrote:
> I'm confused. I am trying to run an mminfo report on savesets saved from a 
> certain client, and I want to exclude a certain saveset.
> (I want all savesets of client NT_SAN1, except for the saveset 
> "H:\Users"). I thought the "!" in front of the queryspec would do that. 
> But it seems to be doing the reverse:
>
> >mminfo -avot -r "client,name,savetime(22),totalsize(4)" -q 
> "client=nt_san1,savetime>07/16/2011,savetime<07/18/2011,!name='H:\Users'"

Sorry, I don't think that's valid.

If you get into the detail of the manual page, it says that "!" is valid
when comparing flags.  Since name isn't a flag, the ! isn't useful.  It
may simply be ignored here.

> How can I construct an mminfo query that shows me that?

You can't.  You need to pull them all out and post-process. 

-- 
Darren

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