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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.5.0
    • Component/s: tools
    • Labels:
      None
    • Triage:
      Untriaged
    • Flagged:
      Release Note
    • Is this a Regression?:
      Unknown
    • Release Notes:

      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

          No work has yet been logged on this issue.

            People

            Assignee:
            carlos.gonzalez Carlos Gonzalez Betancort (Inactive)
            Reporter:
            dhaikney David Haikney
            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