This will work to some degree, but there are limitations:
- This information is not retained when NetWorker is restarted.
- If a group is rerun even as a probe (savegrp -pnv), then this data is
overwritten.
- This does not contain complete completion information. Often this
will contain a message about "X lines of suppress output". In our
environment, this tends to happen on any client where there are files
opened/in use/changing while backups are being done. The problem,
however, is that there is no filtering done on what messages may be
suppressed.
Enjoy.
Teresa
-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
On Behalf Of dan.sanville
Sent: Tuesday, May 17, 2005 12:25 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] Command line reporting questions
Thank-you for responding, it is greatly appreciated.
At this point I am looking for anything [command line] that can tell me
what
backups ran last night, whether they were successful, amount of data
backed
up, and the time it took to back them up.
I found an nsradmin command for 'show completion' that I could run on a
daily basis? Is this best?
regards
Dan
-----Original Message-----
From: Darren Dunham [mailto:ddunham AT TAOS DOT COM]
Sent: Tuesday, May 17, 2005 11:46 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] Command line reporting questions
>
> 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
I'm not sure what you're asking for here, but you might be interested in
adding 'ssflags' to the report, or the incomplete/!incomplete query.
Most jobs that are in progress during a failure are marked incomplete.
Are you looking for filenames or a cause or what?
> #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.
I don't recall the mminfo database having sufficient information to get
this. Last time I wanted that kind of information I did post-processing
of the savegrp notification report (actually I used the on-server log
files, but it's the same information).
If you're using multiplexing and/or client parallelism, then this
information can be somewhat misleading, but it can also be useful.
--
Darren Dunham ddunham AT taos DOT com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
--
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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|