Skip to content

Restoring from etcd database file #15884

Closed Answered by jmhbnz
tdudgeon asked this question in Q&A
May 12, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Can I please confirm you have the /member/snap/db file available to restore from? If so this can be used like a snapshot generated with something like etcdctl --endpoints $ENDPOINT snapshot save snapshot.db.

As mentioned in the recovery doc:

To restore a cluster, all that is needed is a single snapshot “db” file.

Snapshot integrity may be optionally verified at restore time. If the snapshot is taken with etcdctl snapshot save, it will have an integrity hash that is checked by etcdutl snapshot restore. If the snapshot is copied from the data directory, there is no integrity hash and it will only restore by using --skip-hash-check.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@alanbchristie
Comment options

@jmhbnz
Comment options

@alanbchristie
Comment options

@alanbchristie
Comment options

@jmhbnz
Comment options

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