Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-33207

cbbackupmgr env vars inconsistent with -c/--cluster args

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.5.0
    • 6.0.0
    • tools
    • None
    • Untriaged
    • Release Note
    • Unknown

    Description

      CB_CLUSTER env var doesn't handle couchbase:// prefix of no prefix at all, unlike --cluster arg. e.g.

      # BROKEN
      export CB_CLUSTER=couchbase://hostname.com
      /opt/couchbase/bin/cbbackupmgr backup  --username admin --archive /tmp/foo --password XXXXXX
      Error backing up cluster: unsupported protocol scheme "couchbase"
       
      # WORKING
      /opt/couchbase/bin/cbbackupmgr backup --archive /tmp/foo --cluster couchbase://hostname.com --username admin --password XXXXXX 
      Backed up to 2019-02-26T11_59_16.902826961Z
      Copied all data in 11.223006319s (Avg. 10.12KB/Sec)
      4 buckets, 6 items / 113.57KB
      Backup successfully completed
      

      Attachments

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

        Activity

          People

            carlos.gonzalez Carlos Gonzalez Betancort (Inactive)
            dhaikney David Haikney (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty