Highlighted
joeri_m
1 Copper

Question: how to browse remote client savesets from command-line

Hi all,

Current Networker NMC versions allow you to visually select the filesystems/save sets in the client configuration dialog, with a "Browse" button next to the saveset list field.

My question is: is there a way to get this remote list through the command-line? My guess is that it is simply an RPC query to the remote nsrexed on the client, so technically it should be possible. That would make automated or scripted creation of clients a lot less error-prone, without having to start NMC and do this manually.

I do not have (and do not want) an account on the client systems, since I believe that storage/backup admins and server admins should keep their responsibilities separate 🙂

Any help would be appreciated.

Cheers,

   Joeri

Labels (1)
0 Kudos
2 Replies
ble1
6 Indium

Re: Question: how to browse remote client savesets from command-line

I never used this as I always use All.  Whenever someone starts discussion about what is needed in backup and what not, soon or later it burns its fingers.  From CLI there is no command which can give you same functionality, but you can always script client with All, run probe to learn about about file systems on the box and parse it from there if you wish to cherry pick what to backup.

moin1
3 Argentium

Re: Question: how to browse remote client savesets from command-line

Best way to get a list of file systems for a given client is to do a probe

savegrp -p -c <client> -G <group>

Then update the client definition by nsradmin -i <file name>

If there are multiple client definitions then the first line becomes

.type:nsr client;name:<client>;group:<group>