Networker

Re: [Networker] Command line reporting questions

2005-05-17 11:38:53
Subject: Re: [Networker] Command line reporting questions
From: Dave Mussulman <mussulma AT CS.UIUC DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 17 May 2005 10:36:22 -0500
On Tue, May 17, 2005 at 11:05:26AM -0400, Dan Sanville wrote:
> I am new to Networker and I have the following two tasks that need to be
> done via the command line. I have been through mminfo, nsrjb, etc. and
> though I get some of the information I cannot get it all. Can anyone assist
> with this?
> 
> #1 Last night's backup run - what was successful and what
> failed/errored/did not complete successfully
> I used "mminfo -a -t 'yesterday' -r 'client,pool,name,nfiles,totalsize' but
> I am not sure if I am seeing failed/errored/did not complete successfully
> 
> #2 For all successful backups I need the following information:
> client, group, number of files, size of what was backed up, start time,
> finishe time, kb/minute backed up.
> Again I can get most of this with the mminfo command but I cannot get start
> time, stop time, kb/minute backed up. If I could get start&stop time I
> could canculate the kb/minute.

Dan,

Welcome to Networker.  The information you're seeking is contained in
the savegroup completion notification, that's usually sent in an email
after the savegroup finishes.  It will tell you which clients succeeded
and failed, and give you information on each saveset (time to complete,
size, number of files, etc.)  It's pretty common for admins to write
scripts that parse that data and generate secondary reports from it.

Trying to get that information after-the-fact from mminfo won't give you
as complete a picture as the mminfo reports and can be trickier.  (For
example, failed backup attempts might not create something mminfo can
track, and then you have to look at "what's missing" from the mminfo
report.)

Dave

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