Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We're looking to create regular backups of a couchdb database, to ship offsite. What's the least intrusive way to obtain these - ideally without interrupting or significantly slowing down performance on the existing database server?

share|improve this question
Serverfault would be a much better place for this, or perhaps SO – TheLQ Feb 27 '11 at 16:53
up vote 1 down vote accepted

Luckily couchdb is append only, so just copy the file and you'll have a non-corrupt backup.

share|improve this answer

If you want to take a more programmatic approach just use the _all_docs URI, from

GET somedatabase/_all_docs HTTP/1.0

The response will get you a list of all the documents in the database.

Using replication to backup the database is another possibility.

Just post the source/target database names to the _replicate URI.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.