Cloudant and local CouchDB installation 2 way replication -


i'm trying sync database in local couchdb installation (v 1.3.1 on mac) , database on cloudant master-master replication.

in local futon http://localhost:5984/_utils i've configured replicator replicate local database cloudant. works fine replicating local database cloudant one, not backwards. if data changes in cloudant's database changes not been replicated local database.

local -> cloudant = works

cloudant -> local = doesn't work

is possible made? can help?

thanks!

finally figured out needed configure 2 replications local couchdb.

here both replications:

{     "source":"https://username:pwd@username.cloudant.com/cloud_db",     "target":"http://username:pwd@localhost:5985/local_db" }  {     "source":"http://username:pwd@localhost:5985/local_db",     "target":"https://username:pwd@username.cloudant.com/cloud_db" } 

now, in http://localhost:5984/_utils/status.html there 2 replications running.

note added username , password local connection too. that's because need authorized user in order replicate design documents.

thanks lot mike, answer helped lot!


Comments