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

Allow backup service CLI to use the default GCP credentials file

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • Morpheus
    • 7.1.0
    • tools
    • 1

    Description

      How is it now?

      Currently, the CBBS CLI will not read from the default GCP credentials file (located at ~/.config/gcloud/application_default_credentials.json)

      This is something that CBBM currently does support, so it would be nice to have both support the same methods

      Examples

      The following CLI command will not work currently:

      /opt/couchbase/bin/couchbase-cli backup-service -c 10.112.212.101:8091 -u Administrator -p password repository --add --id new-repository --backup-archive gs://testrunner-gcp-jmj-test/test-arcihve --plan _daily_backups --cloud-staging-dir /tmp/test-staging

      However the following CBBM command will:

      /opt/couchbase/bin//cbbackupmgr backup --archive gs://testrunner_gcp/archive-172.23.122.90 --repo backup --cluster http://172.23.122.90:8091 --username Administrator  --password password  --obj-region us --obj-staging-dir /tmp/cbbackupmgr-staging

      Attachments

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

        Activity

          People

            owend Daniel Owen
            joe.mitchelljones Joe Mitchell Jones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty