Networker

Re: [Networker] Legato reporting/scripts

2005-05-24 21:28:21
Subject: Re: [Networker] Legato reporting/scripts
From: Preston de Guise <enterprise.backup AT gmail DOT com>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 25 May 2005 11:26:09 +1000
Hi Prasad,

> Is there anyway to get start & end times and saveset info that the
> savegroup reports generates, from some other source, like mminfo?

mminfo -q "ssid=X" -r savetime,sscreate,sscomp

savetime = saveset creation time (server)
sscreate = saveset start time (client)
sscomp = saveset completion time (not documented, I assume client)

> Also, I need to export all this to one Excel sheet. I'm working on
> inserting "commas" between fields. Does anyone have a better way of
> doing it?

If using NetWorker 7.x, you can do this by adding after your mminfo query:

-xc,

for comma separated variable format.

e.g.,

mminfo -q "savetime>=2 weeks ago" -xc,

will produce the last 2 weeks savesets in comma separated variable
list for easy import into excel.

Cheers,

-Preston.

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