Networker

Re: [Networker] update clients with nsradmin

2009-08-05 05:25:55
Subject: Re: [Networker] update clients with nsradmin
From: "Macina, Conrad" <Conrad.Macina AT PFIZER DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 5 Aug 2009 05:20:21 -0400
You could also put the commands into a file and then execute them with
nsradmin -i:

c:\Program Files\Legato\nsr\scratch>type myfile
print type: NSR client; group: groupName
update browse policy: X; retention policy: Y

c:\Program Files\Legato\nsr\scratch>nsradmin -i myfile

This works in both Unix and Windows. In Unix you could do it all from
the command line without a file:

echo "print type: NSR client; group: groupName \n update browse policy:
X; retention policy: Y" | nsradmin -i -

Conrad Macina
Pfizer, Inc.



-----Original Message-----
From: Preston de Guise [mailto:enterprise.backup AT GMAIL DOT COM] 
Sent: Tuesday, August 04, 2009 6:50 AM
Subject: Re: update clients with nsradmin

On 04/08/2009, at 20:33 , Wallace wrote:

> Hi.
>
> I'm trying to figure out how to use nsradmin to update every client  
> within a
> certain group with the browse policy atribute.
>
> I can only do it globally on every client in the data zone.
>
> How do I program nsradmin to do this: change browse policy and  
> retention
> policy of every client within a certain group?

nsradmin> print type: NSR client; group: groupName
nsradmin> update browse policy: X; retention policy: Y

Note you can also do ". type: NSR client; group: groupName", but using  
"print" is preferable simply because it always lets you see what  
you're going to be changing in advance.

Cheers,

Preston.

--
Preston de Guise


"Enterprise Systems Backup and Recovery: A Corporate Insurance Policy":

http://www.amazon.com/Enterprise-Systems-Backup-Recovery-Corporate/dp/14
20076396

http://www.enterprisesystemsbackup.com

NetWorker blog: http://nsrd.wordpress.com


To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>