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

Update cbdocloader-tool documentation with mandatory fields

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • None
    • 6.x Doc Updates
    • cb-buckets
    • None
    • DOC-2023-S14
    • 1

    Description

      In documentation page https://docs.couchbase.com/server/6.0/cli/cbdocloader-tool.html# , the example doesn't contain the mandatory flags -m

      #cbdocloader -n localhost:8091 -u Administrator -p password -b demo  ./demo.zip

      Output error executing that command: 

      #cbdocloader -n localhost:8091 -u Administrator -p password -b demo  ./demo.zip
      Warning: Specifying the dataset without the -d/--dataset option is deprecated
      Warning: -n is deprecated, use -c/--cluster
      Flag required, but not specified: -m/--bucket-quota

      The required `m` or `-bucket-quota` is not included. The `-n` should be replaced by `-c` .  

       

      Executing with the required parameter works fine, but still has the -d deprecated warning message. 

      cbdocloader -c localhost:8091 -u Administrator -p password -b demo -m 256 ./demo.zip
      Warning: Specifying the dataset without the -d/--dataset option is deprecated
      Data loaded succesfully
      

       

      Attachments

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

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            jose.molina Jose Molina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty