Networker

Re: [Networker] MMINFO command in script on Windows

2006-04-27 11:08:10
Subject: Re: [Networker] MMINFO command in script on Windows
From: "Faidherbe, Thierry" <Thierry.Faidherbe AT HP DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 27 Apr 2006 17:04:55 +0200
Hi,

Try using "mminfo -m" as report in way of -r "pool,...."
Excepted getting poolname in output, information provided
is nearly the same you are looking at.

HTH

TH 





Kind regards - Bien cordialement - Vriendelijke groeten,

Thierry FAIDHERBE

HP Services - Storage Division
Tru64 Unix and Legato Enterprise Backup Solutions 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/MSN : thierry.faidherbe(at)hp.com
                             Internet  : http://www.hp.com/ 
-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
On Behalf Of Kathleen
Sent: Thursday, April 27, 2006 4:57 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] MMINFO command in script on Windows

I am trying the following to determine what tapes are available:

for /f "delims=," %%i in (%INPUT_DIR%\Backup_pools.txt) do %NSR_BIN%
\mminfo -q "!full,pool=%%i,location=Scalar_i2k" -r
"pool,volume,written,%
used,volflags" 

It is not liking the %used (which is a valid option).  How do I get
around 
this??  I have put single quotes, double quotes, to no avail.

I originally had my -r before my -q and it didn't like that either, kept

telling me  unknown report constraint: i, with the -q first and the -r 
second now it is telling me  unknown report constraint: used

What to do?  

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
wit 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

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
wit 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