Restore a snapshot of an etcd keystore (restart the etcd server afterwards)

etcdctl

  • CLI interface for interacting with etcd, a highly-available key-value pair store.
    More information: <https://etcd.io/docs/latest/dev-guide/interacting_v3/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

etcdctl snapshot restore {{path/to/snapshot.db}}

click the source code to copy install etcdctl on any operating system with command-not-found.com