Networker

[Networker] Adding Networker Clients in Bulk using client info exported

2013-08-14 09:13:18
Subject: [Networker] Adding Networker Clients in Bulk using client info exported
From: tsav <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 14 Aug 2013 05:55:52 -0700
<TEST POST>

I wonder if you could use a simple loop within a client update/create script 
like the following...

for clientname in `more /tmp/my_clientlist`
do
   echo Updating $clientname...
   echo ". type:nsr client;Name:$clientname \n update Scheduled backup:Enabled" 
| nsradmin -s nw_server -i -
   echo Client updated at $(date)
   echo $clientname, has been enabled.
done

Mostly a test post but I bet you could play with the syntax and accomplish your 
mass create/update.

Have fun.

+----------------------------------------------------------------------
|This was sent by tsav AT gwl DOT ca via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------