I’m trying to use cbrestore an existing backup into the kubernetes cluster I’m creating but for some reason its saying the destination bucket is missing amongst other things…
To start I’m port-forwarding my pod
kubectl port-forward inform-0000 8091 -n inform
and then running cbrestore (via powershell) from a local directory containing the backup dir
error: missing bucket-destination: b'construct' at destination: http://127.0.0.1:8091/; perhaps your username/password is missing or incorrect
I know the username/password is correct since I can use the credentials to login to the web ui and from there I can then see that the bucket construct also exists…
I’ve also tried creating a new user with full admin credentials on the web ui which does get created but then disappears when i refresh the page which leads me to believe this might be an issue with the couchbase operator taking full control over the server?
Really confused as to what to try next/where to debug…
The command you’re running is incorrect; you need to specify --bucket-destination option. Refer to the documentation for cbrestore options.
On the other hand, you have another option to run cbbackup and cbrestore as a Kubernetes job. You can refer to the documentation here for the steps, although those steps are for Enterprise cbbackupmgr. You can replace couchbase/server:enterprise with couchbase/server:community and cbbackupmgr with cbbackup/cbrestore.