Reputation: 71
Can I create and break cross-cluster replication links in some way other than the web console?
Upvotes: 1
Views: 451
Reputation: 56
Docs about the Rest API can be found here:
Managing Cross Data Center Replication (XDCR) http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-restapi-xdcr.html
Creating replications: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-restapi-xdcr-create-repl.html
Upvotes: 1
Reputation: 816
Web console is just UI for Couchbase REST API, therefore you can try to create CLI utility that manipulates HTTP requests like "controller/createReplication".
Unfortunately neither official tools nor numerous sdk support this feature.
Upvotes: 1