Hi everyone,
I’m using cbbackupmgr
7.2.0 to config my Couchbase backup on Google Cloud Storage.
I had bucket name dt2-backup
on GCS and proper permission for my service account.
When I execute the following command I enter error:
googleapi: got HTTP response code 400 with body: <?xml version='1.0' encoding='UTF-8'?>
InvalidBucketName
The specified bucket is not valid… Bucket names must be at least 3 characters in length, got 1: ‘b’
Command:
cbbackupmgr config --archive gs://dt2-backup/quannlm/dt2 --repo 2024 --obj-staging-dir /data/backups --obj-endpoint https://storage.googleapis.com --obj-region us-central1 --obj-auth-file /etc/gcloud/application_default_credentials.json
Obviously my bucket is “dt2-backup” so length of bucket name is greater than 3? I can see Couchbase create .lk
file at path dt2-backup/quannlm/dt2
when I browse GCS console.
What is my mistake? Please help me.
Thank you for reading my question.