Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
The --task flag for 'couchbase-cli backup-service plan' accepts multiple tasks but it is not clear from the description:
"One or more tasks to add to the plan. Tasks are given in JSON format. For more information see the examples below"
or the current examples (following is only one including --task):
couchbase-cli backup-service -c 127.0.0.1:8091 -u Administrator -p password \ |
plan --add --name new-plan --description "Optional description" |
--task '{"name":"t1", "task_type":"BACKUP", "full_backup": true, \ |
"schedule":{"frequency": 1, "period": "HOURS", "job_type":"BACKUP"}}' |
--services data
|
what the intended syntax is when more than one task is provided.
We should add an example with two tasks, the syntax is following:
couchbase-cli backup-service -c http://localhost:8091 -u xxxx -p xxxxxxx plan --add --name test --description "test configuration" --task '<task 1>' '<task 2>' --services data |
i.e. just space separated list of objects which are quoted.