Start a Conversation

Unsolved

This post is more than 5 years old

5067

October 18th, 2016 07:00

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

2 Intern

 • 

14.3K Posts

October 18th, 2016 07:00

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

155 Posts

October 18th, 2016 08:00

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.

215 Posts

February 18th, 2017 13:00

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 ,


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.


No Events found!

Top