Is there way to take backup for multiple endpoints #14643
Answered
by
tjungblu
kavita1205
asked this question in
Q&A
-
Hi Team, We are using below command to take etcd backup but this command works only in case of single node. Do we have any way in case we want to take backup for multiple nodes, meaning how we can provide multiple endpoints. ETCDCTL_API=3 etcdctl --endpoints=https://$IP:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/client.crt --key=/etc/kubernetes/pki/etcd/client.key snapshot save /var/etcd-backup/etcd-snapshot-$(date +%Y-%m-%dT%H:%M).db |
Beta Was this translation helpful? Give feedback.
Answered by
tjungblu
Oct 31, 2022
Replies: 1 comment
-
not really, but you can just write a bash script wrapper around this easily with a bit of json manipulation:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kavita1205
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not really, but you can just write a bash script wrapper around this easily with a bit of json manipulation: