Shell Script to Mirror Cpanel Servers

We have a few shared hosting servers and would like to be able to setup serves for them for redundancy, however cPanel does not have an easy way to sync two servers. I am looking for someone to write an SH script that would automatically sync the required directories to make each server exactly the same down to each file.

I know this can be done because I've seen it in action using Rsync but I can't seem to find a functioning script anywhere. I also want this file to allow it to be used multiple times as we add new servers so upon running it, it should ask the host name, username and password of the current server, and the one to be mirrored. When I say mirrored I mean as soon as a file is saved on one server it is immediately synced to the second server.

I don't need anyone to install it for us, just to write the code and make sure it works.

For example:
I want to have a blank cPanel server, and the ability to run the script to copy everything over to the new server, then have it run every few seconds and sync any changed files. (using cron or rsync)

Skills: Script Install, Shell Script, Software Architecture

See more: find someone to write a code, find someone to write, t sh, shell script, servers, mirror, cpanel rsync, shared hosting cpanel, easy find script, mirror script host, mirror file hosting script, install servers file hosting, action script file, write shell, file sync script, write script servers, easy username password script, install rsync, find someone write software, ftp mirror script php

About the Employer:
( 1 review ) Cicero, United States

Project ID: #6879290

10 freelancers are bidding on average $47 for this job


I like to discuss further about the project details and deliver the same to your specifications .

$94 USD in 1 day
(62 Reviews)

Hello, Can I suggest building a backup cPanel server and migrate the packages of all accounts to that server, this would backup everything including mails, subdomain from old server to backup server. Also restoring More

$50 USD in 2 days
(14 Reviews)

Hi, I have done similar scripts in the past and I believe there are some potential issues in what You described here. What my proposal is about is: 1. Undelying protocol to be used is ssh. 2. Both servers have rsync More

$50 USD in 2 days
(10 Reviews)

Hi I can create bash script for sync. ****************************************************************************************************

$50 USD in 3 days
(9 Reviews)

Hello, I can write, test and deliver you a script that can be used for this purpose. It could use command line options for servers, or could be driven by a configuration file. It will be fully commented and with instru More

$66 USD in 1 day
(2 Reviews)

Hello! Let's clarify something. Need to synchronize "common data"? Need to synchronize configuration settings, etc. I mean, for example, need to synchronize /var/www and /home, or need to synchronize the whole syste More

$25 USD in 3 days
(4 Reviews)

what are the hosts? could I assume they accept ssh connection? then I could check files with diff and transfer with scp.

$30 USD in 4 days
(1 Review)


$55 USD in 3 days
(0 Reviews)

Sun, 21 Dec 2014 02:18:18 +0530 Is rsync daemon running on source server? List directories to rsync. Do you prefer to delete files from target host that have been deleted at source?

$25 USD in 1 day
(0 Reviews)

Hi, My name is Hasna Riyaz and I am 5+ years experienced in server administration. I am happy to work on this project for minimum wage. I offer you efficient and friendly assistance that goes beyond the agreement. I More

$25 USD in 1 day
(0 Reviews)