Networker

Re: [Networker] mminfo not equal query

2004-04-06 07:17:00
Subject: Re: [Networker] mminfo not equal query
From: "Faidherbe, Thierry" <thierry.faidherbe AT HP DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 6 Apr 2004 13:16:48 +0200
Without any reporting param, mminfo provides lastest 24 hours
backups, including volume, client, date, size, level and name.

So why not just reformulate mminfo query like :

mminfo -r pool,volume,client,sscreate,totalsize,level,name 
and then grep-exclude pool you do not need ?


mminfo -r pool,volume,client,sscreate,totalsize,\
   level,name |grep -v "^<past poolname here>"


HTH,

Th



Kind regards - Bien cordialement - Vriendelijke groeten,

Thierry FAIDHERBE

HP Services - Storage Division
Tru64 Unix and Legato EBS Consultant
                                   
 *********       *********   HEWLETT - PACKARD
 *******    h      *******   1 Rue de l'aeronef/Luchtschipstraat
 ******    h        ******   1140 Bruxelles/Brussel/Brussels
 *****    hhhh  pppp *****   
 *****   h  h  p  p  *****   100/102 Blv de la Woluwe/Woluwedal
 *****  h  h  pppp   *****   1200 Bruxelles/Brussel/Brussels
 ******      p      ******   BELGIUM
 *******    p      *******                              
 *********       *********   Phone :    +32 (0)2  / 729.85.42   
                             Mobile :   +32 (0)498/  94.60.85 
                             Fax :      +32 (0)2  / 729.88.30   
     I  N  V  E  N  T        Email :    thierry.faidherbe AT hp DOT com
                             Internet : http://www.hp.com/ 
________________________________________________________________________

MOBISTAR SA/NV 

SYSTEM Team Charleroi, Mermoz 2 Phone : +32 (0)2  / 745.75.81  
Avenue Jean Mermoz, 32          Fax :   +32 (0)2  / 745.89.56  
6041 GOSSELIES                  Email : tfhaidhe AT mail.mobistar DOT be
BELGIUM                         Web :   http://www.mobistar.be/
________________________________________________________________________

 

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Wood, R A (Bob)
Sent: Tuesday, April 06, 2004 9:38 AM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] mminfo not equal query

Why not try 

mminfo -q "pool<>xyz" 

Bob
-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Philippe Michel
Sent: 05 April 2004 17:23
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] mminfo not equal query


Davina Treiber wrote:
>
> I'm trying to do an mminfo query that basically queries "pool not 
> equal to xyz". I've tried:
>
> mminfo -q "!pool=xyz"
> mminfo -q "pool!=xyz"
>
> and neither have had the desired effect. The man page sort of says 
> that the former might work, but doesn't exactly say that it will.

After an experience similar as yours, my understanding is that ! works
only for flag attributes and that "!attribute" is only a shorthand for
"attribute=false".

The man page is not very clear, but it does not say that ! negates
whatever expression follows it, merely that :

                                     When comparing  flags  whose
     values   are   normally   `true'   and   `false',   one  may
     alternatively use the `[ ! ] name' syntax.  The `!name' form
     is  equivalent  to  `name=false',  and  `name'  by itself is
     equivalent  to  `name=true'.

--
Note: To sign off this list, send a "signoff networker" command via
email to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can also
view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via
email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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