Last active
May 10, 2020 14:10
-
-
Save skynet86/d755697d7b178b600fc69d1c76f2edf5 to your computer and use it in GitHub Desktop.
Backup Command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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