Copy Shards for Backup in CouchDB 2

I want to backup my CouchDB to S3.

In CouchDB 1.x, I just tar files .couchand upload the resulting file.

CouchDB 2.x crawls.

Can I back up CouchDB 2 by running the data directory in the same way?

+4
source share
1 answer

After discussing with people on the CouchDB IRC channel, it seems that you can safely back up and restore one node CouchDB 2 server by creating a backup /shardswhile _dbs.couchalso creating a backup (which contains information about the fragments).

For a full conversation, see this post: http://pastebin.com/MkudTeCY

+1
source

Source: https://habr.com/ru/post/1659860/


All Articles