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?
Asked
Active
Viewed 227 times
1
-
Serverfault would be a much better place for this, or perhaps SO – TheLQ Feb 27 '11 at 16:53
2 Answers
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