Highlighted
SurajPujari
3 Argentium

Run a manual backup for a client from NW server with level full

Hi Guy,

Has anyone achieved running a backup manually from CLI on NW server in 9.x for a specific client ? I also want to control the level(full/incr)

I have looked for nsrpolicy start and nsrworkflow options but didn't find and option to control level from this.

Though command guide says nsrworkflow supports -c option but id doesn't actually

0 Kudos
3 Replies
ble1
6 Indium

Re: Run a manual backup for a client from NW server with level full

Isn't possible to do that from GUI in NW9 (and then you can also in capture in logs which command did it use)? 

0 Kudos
SurajPujari
3 Argentium

Re: Run a manual backup for a client from NW server with level full

from GUI, Start individual client is an option. But I am more fond of using cli. In addition to the fact that NMC GUI specially in 9.x makes me giddy.

Looking for a option in CLI.

0 Kudos
mradamk
3 Argentium

Re: Run a manual backup for a client from NW server with level full

Establish a client resource and assign it to a group in the usual way then assign it to a policy/workflow/action combo.

Backup level, pool and retention can all be assigned within the client definition but also within the action definition involved which may be the better place to do so but either approach works.

nsrworkflow -p MY-Policy -w MY-workflow


===========================================


There's an -O option that supposedly can override the group name assigned to the workflow as well as specify a specific client within the group. Unfortunately this does not work at least on version 9.0, perhaps a later build will work.


nsrworkflow -p MY-Policy -w MY-workflow  -O <Alt-Group-Name>,<specific-client-name>


From nsrworkflow CLI doc:


-O group,...:client,...

To run an workflow with a different group resource than specified in the workflows definition, use the -O flag. You can also restrict the workflow to a group of override clients.


0 Kudos