Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Automated sync between online web host and offline local host both ways

$
0
0

I have an offshore customer who has requested to get their website (with MySQL database) installed on a local server for their ships as they don't always have internet connection.

For this they also requested an automated synchronization between the two servers, so that, everytime their ships come to land and get internet connection, any changes made on both servers will automatically get synced, like this:

  • If any changes have been made on online server, the changes get reflected on the local server for the ships whenever they get internet connection.

  • If any changes have been made on one local server, the changes get reflected on online server when connected to the internet and forwardly also to other ships.

There seem to be many different suggested solutions for this and it's kinda confusing.

  • You can use MySQL replication with Master and Slave server, but it's only a one way sync?
  • Some topics have mentioned a master - master replication which syncs both ways, but posses risk of data loss?

So I would like some advice on how to best deal with this or if such automated two way synchronization is even possible without risk of data loss?

Or if you just have to accept a one way sync where the local server for the ships will be read-only?

And can a MySQL replication to online web host be set up with any local host program e.g. WAMP?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>