Networker

Re: [Networker] mminfo field seperators

2004-04-24 18:38:28
Subject: Re: [Networker] mminfo field seperators
From: Richard Hoare <richard AT DATA4U.CO DOT NZ>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Sun, 25 Apr 2004 10:35:00 +1200
This also supplies a CSV output.

mminfo -av -xc, -r "client,name,totalsize,nfiles,savetime(22)" -q
"level=full,!incomplete,client=clientname,pool=monthly" -t "last year"

Regards

Richard

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU] 
On
Behalf Of Tyronne Raphaela
Sent: Friday, 23 April 2004 5:29 p.m.
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] mminfo field seperators

On Windows NT I use this in a command script to get a comma separated
output.
Its not perfect but it works for me.

set bcp_srv=backupserver.com
set time1=last friday
set pool=default
for /f "tokens=1,2,3,4,5,*" %%a in ('mminfo -s %bcp_srv% -t ^"%time1%^" -q
^"pool^=%bkp_pool%^,^!incomplete^,^!ssrecycle^,level^=full^,first^=0^" -r
^"savetime^(18^)^,totalsize^(5^)^,client^(32^)^,name^(25^)^"') do echo %%a
%%b, %%c %%d, %%e, %%f,

Hope this helps

T.

>From: "Gates, Robert L [Non-Employee/1017]"
><robert.l.gates AT PHARMACIA DOT COM>
>Reply-To: Legato NetWorker discussion <NETWORKER AT LISTMAIL.TEMPLE DOT EDU>,
>         "Gates, Robert L [Non-Employee/1017]"
><robert.l.gates AT PHARMACIA DOT COM>
>To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
>Subject: [Networker] mminfo field seperators
>Date: Thu, 22 Apr 2004 07:37:39 -0500
>
>Everyone,
>
>Is there any way to get the mminfo report to use a specified
>field seperator?
>
>Some saveset names from our NT clients have spaces and it can
>cause confusion when trying to seperate out fields for reports.
>
>Thanks,
>Bob
>
>
>
>This communication is intended solely for the use of the addressee and may
>contain information that is legally privileged, confidential or exempt from
>disclosure.  If you are not the intended recipient, please note that any
>dissemination, distribution, or copying of this communication is strictly
>prohibited.  Anyone who receives this message in error should notify the
>sender immediately and delete it from his or her computer.
>
>--
>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.
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

_________________________________________________________________
Play online games with your friends with MSN Messenger
http://messenger.msn.nl/

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