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

        For Gerrit Dashboard: MB-33207
        # Subject Branch Project Status CR V

          Activity

          dhaikney David Haikney created issue -
          dhaikney David Haikney made changes -
          Field Original Value New Value
          Link This issue relates to CBSE-6456 [ CBSE-6456 ]
          pvarley Patrick Varley made changes -
          Link This issue relates to CBSE-6456 [ CBSE-6456 ]
          pvarley Patrick Varley made changes -
          Link This issue blocks CBSE-6456 [ CBSE-6456 ]
          pvarley Patrick Varley made changes -
          Assignee Patrick Varley [ pvarley ] Carlos Gonzalez Betancort [ carlos.gonzalez ]
          carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
          Actual Start 2019-03-04 07:07 (issue has been started)
          carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
          Actual End 2019-03-04 09:16 (issue has been resolved)
          carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
          Status Reopened [ 4 ] In Progress [ 3 ]
          carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
          Actual End 2019-03-04 09:16 2019-03-04 10:32 (issue has been resolved)
          Balakumaran.Gopal Balakumaran Gopal made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          owend Daniel Owen made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          owend Daniel Owen made changes -
          Priority Critical [ 2 ] Major [ 3 ]
          owend Daniel Owen made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          owend Daniel Owen made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          owend Daniel Owen made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          owend Daniel Owen made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          owend Daniel Owen made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          owend Daniel Owen made changes -
          Release Notes closed_issue
          owend Daniel Owen made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]

            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