Couchbase Cluster Backup Error

Hi Team,

We deployed a CB cluster in a k8s environment. I am trying to back up the cluster from outside the CNF environment, specifically from a bastion node. While attempting the backup, I get the error below. We have already enabled the NodePort service for our deployment. The worker node IP is reachable from the bastion node, and I can connect to the CB cluster through cbq. Could you help me resolve this error?

/opt/couchbase/bin/cbbackupmgr backup -a /home/cbbackup -r single -c <worker_node_ip>:32399 -u -p
Error backing up cluster: failed to bootstrap client: failed to connect to any host(s) from the connection string, check username and password (CLI user reminder – if the password includes special characters, the password should be enclosed in quotes to prevent issues due to interaction with the shell). If using with a Couchbase Capella database, the database may be off or hibernated

Below is node port deatils

mblqecbcl767-ui NodePort xx.xx.xx.xx 8091:32396/TCP,18091:32399/TCP,11210:31131/TCP,11207:31431/TCP

Thanks,

Debasis

I’m wondering how the backup command would know to use tls vs non-tls on port 32399. Maybe try explicitly specifying the protocol - like : couchbases://<worker_node_ip>:32399 see cbbackupmgr backup | Couchbase Docs. Also see the options releated to ssl - cbbackupmgr backup | Couchbase Docs
You may also need to specify network=external when working with kubernetes. cbbackupmgr backup | Couchbase Docs

You could also try connecting with SDK Doctor as it has detailed diagnostics.

2 Likes

Did that help? Do you need a ticket opened?