cmp.worker.replicate-db
replicate!
(replicate! {state-key :StateKey, :as task})Replicate a database (CouchDB) by posting:
{
"_id": "my_rep",
"source": "http://myserver.com/foo",
"target": "http://user:pass@localhost:5984/bar"
}
to the /_replicate endpoint.