Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-11335

couchbase-cli backup-service plan page additional examples needed

    XMLWordPrintable

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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            gary.gray Gary Gray
            deacon.linkhorn Deacon Linkhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty