Networker

[Networker] nsradmin question

2005-08-11 14:55:01
Subject: [Networker] nsradmin question
From: Joel Fisher <jfisher AT WFUBMC DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 11 Aug 2005 14:46:53 -0400
Hey Guys,

 

Is there a way to add something to an existing attribute with nsradmin?

 

For example.

 

nsradmin> print

                        type: NSR pool;

                        name: newpool;

                     comment: ;

                     enabled: Yes;

                   pool type: Backup;

              label template: Default;

                      groups: oldgroup;

                     clients: ;

                   save sets: ;

                      levels: ;

                     devices: ;

         store index entries: Yes;

           auto media verify: No;

      Recycle to other pools: No;

    Recycle from other pools: No;

      volume type preference: ;

                 mount class: default;

 

I want to add another group to the groups attribute.

 

groups: oldgroup, newgroup;

 

Is there a way to do this short of printing the current attribute
contents, tacking on the new entry and then using the nsradmin update
command to recreate it?

 

BTW I'm trying to do this so I can script our client/group creation.

 

Thanks!

 

Joel

 

 


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

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