Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

etcd restore from db backup of another cluster #145

Open
haroonb opened this issue Sep 8, 2020 · 0 comments
Open

etcd restore from db backup of another cluster #145

haroonb opened this issue Sep 8, 2020 · 0 comments

Comments

@haroonb
Copy link

haroonb commented Sep 8, 2020

Hello I'm trying to figure out how I could restore a backup from an existing etcd cluster into this operator.

We have a running etcd cluster from bitnami running and a db backup created with
kubectl exec -it etcd-0 -- etcdctl snapshot restore /tmp/db --name etcd-0 --initial-cluster etcd-0=http://etcd-0.etcd-headless.default.svc.cluster.local:2380,etcd-1=http://etcd-1.etcd-headless.default.svc.cluster.local:2380,etcd-2=http://etcd-2.etcd-headless.default.svc.cluster.local:2380 --initial-cluster-token etcd-cluster-k8s --initial-advertise-peer-urls http://etcd-0.etcd-headless.default.svc.cluster.local:2380

I can't seem to get the new cluster to accept the old configs though. Can someone suggest a solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant