Skip to content

Changing node names on a restored CouchDB cluster backup #3383

Answered by H--o-l
H--o-l asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

Following this discussion, I, and the team I belong to, created a small tool to help us backup and restore our production servers:
https://github.com/tolteck/couchcopy

Under the hood it backups CouchDB data folder, and during restoration it updates CouchDB shards placement using PUT /_node/{node_name}/_dbs/{db_name}, to match the new cluster erlang node name.

If you read this, thanks for your time!

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@H--o-l
Comment options

@schwichti
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by H--o-l
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