[Ilugc] File sync between two locations

  • From: a.narendiran@xxxxxxxxx (Narendiran)
  • Date: Sun, 10 Mar 2013 19:09:01 +0530

On Sun, Mar 10, 2013 at 6:12 PM, Arun Venkataswamy <arun289 at gmail.com> wrote:


Hi,

I had a seemingly simple problem till I started the implementation.

I have two GNU/Linux servers, one in Erode and another one in Coimbatore -
both inside respective LANs which is connected to the internet. I also have
one VPS server (Linode) running with a static IP connected to the internet.
Now, I have to sync two folders - one in the Erode machine and the other
one in the Coimbatore machine. Files can get added and deleted in each of
the folders. At any given time, the Erode machine's folder should contain
all the files added by both Erode users and Coimbatore users. Same
expectation on the other side also. The project is a hybrid content
management system. Latency is not an issue. It can even take an entire day
to sync the two folders.

Based on my research the Unison project (
http://www.cis.upenn.edu/~bcpierce/unison/) seems to fit very well in the
star topology.

Any comments? Any better tool to achieve this? Am I in the right path?


rsync will be first back up tool u want to consider. But in your case
there are more things to worry about. Your internet connection more
specifically, do you have static ip at both ends or do u get assigned
dynamic ips on each connect. If so you may need to do some dirty work
to keep track of your changing ips


--
Sincerely,

A. Narendiran

Other related posts: