Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 362 Bytes

File metadata and controls

17 lines (11 loc) · 362 Bytes

Implementing ETCD backup and restore

etcdctl snapshot save

etcdctl snapshot status <file-location>

etcdctl snapshot restore

## actual example

ETCDCTL_API=3 etcdctl \
--cacert=/etc/kubernetes/pki/etcd/ca.crt \
--cert=/etc/kubernetes/pki/apiserver-etcd-client.crt \
--key=/etc/kubernetes/pki/apiserver-etcd-client.key snapshot save <destination>