Skip to content

Embed ETCD to distributed ETCD #15756

Closed Answered by xiaofan-luan
xiaofan-luan asked this question in Q&A
Discussion options

You must be logged in to vote

There isn't a lot of detail in your question so I will have to make the assumption you are asking about migrating etcd data.

If that is the case, provided you can interact with the embedded etcd instance via something like etcdctl you should be able to follow the snapshot and restore process.

  1. Setup your new etcd distributed cluster
  2. Export data from old etcd embedded instance via etcdctl.
  3. Restore data to new etcd distributed members via etcdutl.

The snapshot and restore process is documented in more detail here: https://etcd.io/docs/v3.5/op-guide/recovery.

Great, that's just what I'm looking for. Thanks man

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@xiaofan-luan
Comment options

Answer selected by jmhbnz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants