@Stefan_CGI, To be honest i don't think starting just the clone action in a backup workflow is going to work because the input to the clone action is got from the backup action. If the backup action never runs then there is nothing for clone action to work on. Also, the clone action needs to run after a backup action I doubt if this will even work.
What you can do instead is create a new workflow for cloning only. The group for this workflow will need to be of type Save set Query and select the required filters to add the savesets that you need cloned dynamically. Keep the workflow autostart disabled so that this workflow can be started only when required manually.
bingo.1
2.4K Posts
1
January 22nd, 2020 07:00
I prefer manual cloning that why I have no real experience.
However as you can start the backup action via command line
nsrworkflow -p policy -w workflow [-c client] -A "'bu_action' -l level" -a
I assume that you start the clone action as follows:
nsrworkflow -p policy -w workflow [-c client] -A "'clone_action'"
If this does not work, use mminfo to generate the ssid list of all the save sets which have been created and send the output to a file. Example:
mminfo -q your_query_criteria -r ssid > filename
Then run nsrclone to clone the save set list:
nsrclone -b pool -S -f filename
crazyrov
4 Operator
•
1.3K Posts
0
January 22nd, 2020 22:00
@Stefan_CGI, To be honest i don't think starting just the clone action in a backup workflow is going to work because the input to the clone action is got from the backup action. If the backup action never runs then there is nothing for clone action to work on. Also, the clone action needs to run after a backup action I doubt if this will even work.
What you can do instead is create a new workflow for cloning only. The group for this workflow will need to be of type Save set Query and select the required filters to add the savesets that you need cloned dynamically. Keep the workflow autostart disabled so that this workflow can be started only when required manually.
Stefan_CGI
5 Posts
0
January 23rd, 2020 06:00
Hi guys,
Thanks for the replies, i appreciate that.
I have solved it for now by just cloning the saveset.
The backups had a saveset in the first place, i was just hoping i could run the action separately.
In any case, my issue has been solved.
Cheers, have a good day!
Sincerely,
Stefan.