CouchDB backups and cloning the database

后端 未结 5 1554
情歌与酒
情歌与酒 2021-01-30 16:58

We\'re looking at CouchdDB for a CMS-ish application. What are some common patterns, best practices and workflow advice surrounding backing up our production database?

I

5条回答
  •  遇见更好的自我
    2021-01-30 17:31

    Another thing to be aware of is that you can copy files out from under a live database. Given that you may have a possibly large database, you could just copy it OOB from your test/production machine to another machine.

    Depending on the write load of the machines it may be advisable to trigger a replication after the copy to gather any writes that were in progress when the file was copied. But replication of a few records would still be quicker than replication the entire database.

    For reference see: http://wiki.apache.org/couchdb/FilesystemBackups

提交回复
热议问题