You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2018/12/17 22:39:57 UTC
[Couchdb Wiki] Update of "How_to_make_filesystem_backups" by JoanTouzet
Dear wiki user,
You have subscribed to a wiki page "Couchdb Wiki" for change notification.
The page "How_to_make_filesystem_backups" has been deleted by JoanTouzet:
https://wiki.apache.org/couchdb/How_to_make_filesystem_backups?action=diff&rev1=7&rev2=8
Comment:
Migrated to docs.couchdb.org, see https://github.com/apache/couchdb-documentation/pull/369
- <<Include(EditTheWiki)>>
- There are three types of variable data files to backup:
-
- * Database files
-
- * Configuration files
-
- * Log files
-
- [[http://mail-archives.apache.org/mod_mbox/incubator-couchdb-user/200808.mbox/<32...@apache.org>|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 [[http://wiki.apache.org/couchdb/InstallingOnUbuntu|CouchDB install on Ubuntu]]:
-
- * Configuration: /etc/couchdb/
-
- * Database files: /var/lib/couchdb/
-
- * Logs: /var/log/couchdb/
-
- And to backup for a [[Installing_on_Windows|CouchDB install on Windows]] where ''%couch%'' is where you've installed or unpacked CouchDB:
-
- * Configuration: %couch%\etc\couchdb\
-
- * Database files: %couch%\var\lib\couchdb\
-
- * Logs: %couch%\var\log\couchdb\
-
- '''Note:''' Before CouchDB 1.0 intermediate releases can have incompatible database file formats. For details on migrating those, see BreakingChanges.
-