couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Mohr <>
Subject Re: Faster one-time replication doing file-system copy?
Date Tue, 18 Mar 2014 18:02:47 GMT
For a while now I've wished couchdb had a fork feature to speed up initial
replication times like this.

curl -X POST -d '{"source":"db1","target":"db2"}'

Basic process would be something like:
1. Do a simple file system copy to create the new db
2. Set the replication checkpoint on the source db
3. [Optional] Trigger a replication to carry over any doc updates that
occurred during the process

I imagine this would be easy to add same host, same couchdb instance...
 probably even same host, different instances.  Gets a lot trickier when
you need to copy across hosts though.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message