Data Synchronisation Between 2 Linux Servers

I have 2 servers, in 2 different geographical locations, running Centos 4.5 and 6.2 with a data folder that is synchronised using rsync. Files are created / edited on BOTH servers. I am happy with the synchronisation process. The problem I have is with deleting files / folders. Once the data folder has fully synchronised, if a user deletes one or more files on one server, they will be recreated at next synchronisation from the remote server and vice versa.

I am looking for a solution that will allow users on Windows workstations to delete files and folders on one server and the same files and folders from the remote server.

One possible solution may be to create a text file that has a list of files and folders that require deletion. Before the synchronisation script is run, this file is processed and the designated files and folders are moved (bit like a recycle bin) to a different folder that is not included in the synchronisation process. The text file will be synchronised to the remote server and the process repeated there as well, before the synchronisation of the data folder is initiated.

If you can offer a better solution, so much the better.

Compétences : Linux, Perl, PHP

en voir plus : linux 4.5, windows servers, servers, linux servers, synchronised linux, run script linux, windows 2012 perl, create script linux, centos perl, create files folders, php remote server delete script, data linux, server data linux, linux server problem, running linux, linux problem , create list data php, delete files folder, centos require, linux run run script, linux perl script, create user folders script, php script delete folder, remote server windows linux, run windows linux server

Concernant l'employeur :
( 22 commentaires ) ROTHERHAM, United Kingdom

Nº du projet : #2332863

Décerné à:


I can do this for you. Please see my PM.

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(5 Commentaires)

9 freelance font une offre moyenne de $73 pour ce travail


Hi I am a CISSP,RHCE,CCNA,MCSA,Linux+ and a CEH. I do have 7+ years experience in System Administration . I have experience in a high availability environment with 100+ servers and more than 500 000+ subscribers, I kno Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 4 jours
(70 Commentaires)

I can help you.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(100 Commentaires)

Thanks & Best Regards, Sow

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(15 Commentaires)

Hi, I will be glad to work on this script. We can achieve the desired changes like that: 1) Keep a track of all files and Directory names. 2) Track all files and directories name just before rsync. 3) Compare Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(18 Commentaires)

hi, bkapur , it's very easy, no add on other things, just check my private message for solution.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(10 Commentaires)

Experienced UNIX Sys Admin would be glad to help.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 15 jours
(0 Commentaires)

experienced LINUX admin

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)

This could be a very simple solution without much changes to your existing one!

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)