Sync Gateway for Server to Server Sync
Hello Couchbase team!
I am considering moving my "stock management" application from sql server to Couchbase.
My application is windows based(WPF), and is installed on geologically distributed stores. There are local servers that are synchronized with each other. In my country(Turkmenistan) internet provider doesn't provide static IP address service. At this moment I am using an sql server installed on a Virtual Machine in internet(Azure), to sync all stores. So all local servers do sync with that(Azure) server.
So if to be short, I have to sync multiple servers with only one server with known IP address.
I have examined Couchbase server, and realized that XDCR is one way only, and because of unknown IP addresses on local servers, I can't configure XDCR on remote server to send changes to local servers.
Finally my question is: Can I user Sync Gateway to achieve two-way synchronization from server to server, Or can somehow XDCR be configured to download changes from remote server.
Edit: Or even maybe I could initiate synchronization between two Sync Gateways
XDCR has been built for that, including bi-directional replication
I do not know where you have read that XDCR is one way only. May be something is not clear in our documentation. Let me point you to some interesting resources: