Created
May 10, 2020 14:05
-
-
Save skynet86/1609d38f5f8de2b99d03e962905b3b25 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 API Version 3 | |
ETCDCTL_API=3 etcdctl --endpoints https://172.17.0.34: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