1

Looking for advice on best way of setting up file replication between two Linux servers running Ubuntu. I've previously used rsync, and csync2 in a clustering situation I ran previously.

I know of the following options:

  1. rsync - Easy to use, and will work on all distros.

  2. csync2 - Fast, secure, but I am not sure if that project is even alive anymore.

  3. lsyncd - Seems to be powerful, does real-time or near real-time syncing.

Any other options that should be looked at? Also interested if anyone has used the 2nd or 3rd option above.

I'm dealing with ruby on rails code, and a few ruby websites. No databases required, more or less pure text files.

closed as primarily opinion-based by Kusalananda, Jeff Schaller, Isaac, G-Man, Thomas Dec 1 '18 at 9:02

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Per our FAQ, question based on opinion are not encouraged. While I am upvoting the question, I am not sure whether it would benefit from another angle to request less opinionated answers. – Rui F Ribeiro Oct 25 '18 at 18:23
  • NFS mount? It kinda depends on what the purpose is. But I agree with Rui's comment, this is asking for opinions. – Kusalananda Oct 25 '18 at 18:23
  • 2
    Couple of configuration issues that might matter. Are the systems 2 feet apart or 2k miles apart? Do you have a master-slave replication or is this bi-directional replication? – doneal24 Oct 25 '18 at 18:25
  • Servers are essentially 2 feet apart. It's essentially to keep a DR server up to date with the latest code used in production. – Darrin Henshaw Oct 25 '18 at 18:52

Browse other questions tagged or ask your own question.