Networker

Re: [Networker] status last backup completion using nsradmin

2004-12-03 12:21:08
Subject: Re: [Networker] status last backup completion using nsradmin
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 3 Dec 2004 09:20:08 -0800
>
> I have a script using nsradmin to status the backup.
> When the status=idle, I want to find out if the savegroup's
> last backup completed successful or failed.

The group as a whole, or just individual save sessions?

And what's a failure to you?  Is one file saying "size changed" a
failure, or does an entire host have to be down?

If you're just waiting for the group to finish *and* you have no access
to the savegroup report, you can get the information out of the
'completion' attribute.

nsradmin> show completion
nsradmin> print type:nsr group; name: mygroup

It should be about the same information, but you'll have to parse it to
some extent.

--
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 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. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=