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
|