deanlearner Posted April 23, 2010 Share Posted April 23, 2010 I have live master-master replication running on a mysql database (currently only really used as master-slave, but for the following to work I've configured it as master-master). Users can upload files to the system, the file is stored in a documents directory and an entry is added to the database pointing to this file. NOW, I want this uploaded file to be replicated in the required place on the other system as well and even if the connection isnt available for a while, it will perform the replication when it can. Can such replication be set up in a live fashion? I've not given it too much thought just yet, but I am thinking of doing an rsync every X minutes and picking up the changes as required. Anyone have any experience with this? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/199478-live-database-replication-and-file-replication/ Share on other sites More sharing options...
deanlearner Posted April 23, 2010 Author Share Posted April 23, 2010 I've just thought that, I will obviously need to run rsync the other way on the second server and am worried about if overlapping rsyncs could some how really bork things up Quote Link to comment https://forums.phpfreaks.com/topic/199478-live-database-replication-and-file-replication/#findComment-1046947 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.