We have a new wiki. The migration is not 100% complete. You can help out by moving pages across. This wiki will exist for as long as there are pages left.

The official documentation has moved to http://docs.couchdb.org — The transition is not 100% complete, but http://docs.couchdb.org should be seen as having the latest info. In some cases, the wiki still has some more or older info on certain topics inside CouchDB.

You need to be added to the ContributorsGroup to edit the wiki. But don't worry! Just email any Mailing List or grab us on IRC and let us know your user name.

There are three types of variable data files to backup:

Couch-users discussion from Damien Katz - August 2008:

Actually, you can copy a live database file from the OS at anytime without problem. Doesn't matter if its being updated, or even if its being compacted, the CouchDB never-overwrite storage format ensures it should just work without issue.

For all platforms, locate your database, configuration, and log files and perform a filesystem copy. Be careful to preserve file permissions, too. Archive these files to wherever you want-- ideally on a different machine in a different physical location -- with appropriate security limiting access.

For example, here are the directories to backup for a CouchDB install on Ubuntu:

And to backup for a CouchDB install on Windows where %couch% is where you've installed or unpacked CouchDB:

Note: Before CouchDB 1.0 intermediate releases can have incompatible database file formats. For details on migrating those, see BreakingChanges.

How_to_make_filesystem_backups (last edited 2011-11-23 15:14:00 by 62)