Networker

Re: [Networker] status last backup completion using nsradmin

2004-12-06 10:46:44
Subject: Re: [Networker] status last backup completion using nsradmin
From: Teresa Biehler <tpbsys AT RIT DOT EDU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 6 Dec 2004 10:45:45 -0500
I get "X lines of suppressed output" when I do this.  Is there a way to
force all the output to be written?

Thanks.
Teresa

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Darren Dunham
Sent: Friday, December 03, 2004 12:20 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] status last backup completion using nsradmin

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

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