Differences between revisions 4 and 5
Revision 4 as of 2008-11-05 01:38:39
Size: 1255
Editor: MartinCzura
Comment: redirect
Revision 5 as of 2009-09-20 21:45:09
Size: 1259
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
[http://mail-archives.apache.org/mod_mbox/incubator-couchdb-user/200808.mbox/%3c32800028-9286-47C8-82A5-1ECC25667FDA@apache.org%3e Couch-users discussion from Damien Katz - August 2008]: [[http://mail-archives.apache.org/mod_mbox/incubator-couchdb-user/200808.mbox/%3c32800028-9286-47C8-82A5-1ECC25667FDA@apache.org%3e|Couch-users discussion from Damien Katz - August 2008]]:
Line 18: Line 18:
For example, here are the directories to backup for a [http://wiki.apache.org/couchdb/InstallingOnUbuntu CouchDB install on Ubuntu]: For example, here are the directories to backup for a [[http://wiki.apache.org/couchdb/InstallingOnUbuntu|CouchDB install on Ubuntu]]:

There are three types of variable data files to backup:

  • Database files
  • Configuration files
  • Log files

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:

  • Configuration: /usr/local/etc/couchdb/
  • Database files: /usr/local/var/lib/couchdb/
  • Logs: /usr/local/var/log/couchdb/

FilesystemBackups (last edited 2009-09-20 21:45:09 by localhost)