Skip to content

Is there way to take backup for multiple endpoints #14643

Answered by tjungblu
kavita1205 asked this question in Q&A
Discussion options

You must be logged in to vote

not really, but you can just write a bash script wrapper around this easily with a bit of json manipulation:

etcdctl member list -wjson | jq -r '.members[].clientURLs | .[]' | while read member ; do
   etcdctl --endpoints=${member} snapshot save  .... 
done

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kavita1205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants