Skip to content

Instantly share code, notes, and snippets.

@skynet86
Last active May 10, 2020 14:10
Show Gist options
  • Save skynet86/d755697d7b178b600fc69d1c76f2edf5 to your computer and use it in GitHub Desktop.
Save skynet86/d755697d7b178b600fc69d1c76f2edf5 to your computer and use it in GitHub Desktop.
Backup Command
// Do not forget to mention etcd API version 3
ETCDCTL_API=3 etcdctl \
--endpoints https:172.17.0.9:2379 \
--cacert=/etc/kubernetes/pki/etcd/ca.crt \
--cert=/etc/kubernetes/pki/etcd/server.crt \
--key=/etc/kubernetes/pki/etcd/server.key \
snapshot save /tmp/snapshot-backup.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment