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 2012/11/07 23:52:59 UTC
[Couchdb Wiki] Update of "Replication" by NathanVanderWilt
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "Replication" page has been changed by NathanVanderWilt:
http://wiki.apache.org/couchdb/Replication?action=diff&rev1=50&rev2=51
Comment:
Make new replication DB information slightly more prominent, e.g. https://getsatisfaction.com/iriscouch/topics/setting_up_replicaiton_is_utils_replicator_html_now_obsolete#reply_10483241
Changes on the master will not automatically replicate to the slaves. See “Continuous Replication” below.
- === Run Replication ===
- Replication is triggered by sending a POST request to the `_replicate` URL. The body is JSON with the following allowed fields:
+ === Run Replication, using the old API ===
+
+
+ '''NOTE:''' Before CouchDB 1.1, replication was triggered by sending a POST request to the `_replicate` URL. Many of the concepts and parameters are similar, but '''you are encouraged to use the [[#Replicator_database|replicator database]] instead''' of the old API documented here.
+
+ The body is JSON with the following allowed fields:
||'''Field Name''' ||'''Description''' ||
||''source'' || ''Required.'' Identifies the database to copy revisions from. Can be a string containing a local database name or a remote database URL, or an object whose `url` property contains the database name or URL. ||