couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "FilesystemBackups" by JasonHuggins
Date Fri, 22 Aug 2008 20:28:55 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JasonHuggins:

The comment on the change is:
>>From CouchDB users mailing list. August, 2008. Subject: "Backup of couchdb"

New page:
You need to backup three types of variable data files:

   * Database files
   * Configuration files
   * Log files

Couch-users discussion from Damien Katz - August 2008]:

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/       


View raw message