Couchbase backup Error

I am facing issue with Couchbase backup .

While executing the script I am getting error

INFO Checking connection to Kubernetes API…
ERROR Subprocess call exited with non-zero return code 1
ERROR Arguments: cbbackupmgr info --json --archive gs://my-bucket-name/archive --obj-staging-dir /data/staging --s3-force-path-style
ERROR Stdout: b’{“error”:“failed to get archive metadata: failed to get archive version file: remote archive does not exist, perhaps the specified directory is not an archive”}\n’
ERROR Stderr: b’’
ERROR Failed to list repositories
ERROR Command ‘[‘cbbackupmgr’, ‘info’, ‘–json’, ‘–archive’, ‘gs://my-bucket-name/archive’, ‘–obj-staging-dir’, ‘/data/staging’, ‘–s3-force-path-style’]’ returned non-zero exit status 1.

Previously backup worked properly suddenly i am facing this error.

Is the backup running as a CronJob on Kubernetes and trying to write to an external object storage?
It seems like the configuration is not found, hence I see two options:

  1. Someone deleted the archive
  2. You’re not reaching correctly the object storage (maybe someone put a firewall or maybe you have some connection issue)?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.