1

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?

blueberryfields
  • 13,200
  • 8
  • 51
  • 87

2 Answers2

1

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

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.

cs_brandt
  • 185
  • 7
1

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

dan_waterworth
  • 7,287
  • 2
  • 34
  • 45