What is the least intrusive method for backing up the couchdb database?

We want to create regular couchdb database backups to go beyond. What is the least intrusive way to get them - ideally without interrupting or significantly slowing down performance on an existing database server?

+8
couchdb backup
source share
4 answers

You can simply copy the CouchDB database file. Read more about it here .

+10
source share

Why not use CouchDB replication to replicate the production database to another host where backups can be performed?

+5
source share

You can also use couchdb-dump and couchdb-load to backup and restore to plain text files.

+5
source share

If you are a Linux or MacOSX user, you can use the couchdb-dump tool , which mainly works with the bash shell.

It deletes the database in a local file (ASCII text file) formatted as requested by http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API

You can then restore it using the bulk upload of the document or using the couchdb-dump recovery tool.

Backing up files has the advantage that it is very fast, but the disadvantage of working with local files that cannot be used when changing the OS.

You can find other tools for github:

https://github.com/stockr-labs/couchdbdump

https://github.com/zebooka/couchdb-dump

+1
source share

All Articles