Skip to content

how do I attach existing couchdb /var/lib/couchdb to a new install? #4025

Answered by nickva
AtlantaKid asked this question in General
Discussion options

You must be logged in to vote

You can copy it over mostly see: https://docs.couchdb.org/en/stable/maintenance/backups.html

If you want to try it out first, you can mount in a different location first then configure CouchDB's database_dir and view_index_dir.

You may also want to restore the etc config directory. It would have various settings such as the uuid admin users' password hashes and anything else you might have set.

Especially for a clustered install, pay attention to use the same node name in vm.args as the shard map which maps db nodes and shard ranges encodes. See https://docs.couchdb.org/en/stable/setup/cluster.html. If it's just a single node install, this step might be easier if you have something like c…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AtlantaKid
Comment options

@AtlantaKid
Comment options

@nickva
Comment options

Answer selected by nickva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants