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
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.
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:
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.