How to Sync Two Apache Web Servers/Websites Using Rsync

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Tarunika Shrivastava

I am a linux server admin and love to play with Linux and all other distributions of it. I am working as System Engineer with a Web Hosting Company.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

20 Responses

  1. Nacho says:

    Thank you. I use Rsync to replicate between one web server and two slaves for balancing and works perfect. thank you for share. greetings from Argentina.

  2. Ranjan says:

    How backup server will handle traffic if first server will down? rsync command only sync to data from one to another. but how it will handle the traffic just need to know

    • Ravi Saive says:

      Yes rsync command only syncs data between two servers, it doesn’t programmed to handle traffic. If first server down in case, you need to manually point to slave server (backup server)

  3. @ndres says:

    What about Data Base replication? Nowadays most web sites uses databases.

  4. banker says:

    use KrojamSoft SyncFile it’s the best…

  5. Vlad says:

    I’m new to this. So apologize in advance for basic, dumb questions. Where do I enter these commands? Please give me specific steps. Do I have to login to my cpanel or WHM? Or is it something I can pull up from the FTP? Thanks in advance for your patience with my ignorant questions.

    • Ravi Saive says:

      The commands can be run on server level with direct root access. It will won’t work uner cpanel or WHM.

    • Marin Todorov says:

      Please submit your question in forum with your specific needs and we will be more than glad to hep you with that. I am asking to submit the question in there as this is the official TecMint support forum and we will be able to provide more detailed instructions in there.

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 57,739
  2. 3,201
  3. 25,639

Enter your email to get latest Linux Howto's