En cours

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

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é à :

roaima

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

50 $ USD en 1 jour
(5 Commentaires)
3.8

9 freelance ont fait une offre moyenne de 73 $ pour ce travail

shakoush2001

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

100 $ USD en 4 jours
(70 Commentaires)
6.6
vili1977

I can help you.

30 $ USD en 1 jour
(100 Commentaires)
5.5
stevensow

Thanks & Best Regards, Sow

30 $ USD en 1 jour
(15 Commentaires)
4.4
sumitgarg44

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

70 $ USD en 1 jour
(18 Commentaires)
4.1
zavakid

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

30 $ USD en 1 jour
(10 Commentaires)
3.9
Tzctgeta

Experienced UNIX Sys Admin would be glad to help.

250 $ USD en 15 jours
(0 Commentaires)
0.0
mslebodnik

experienced LINUX admin

50 $ USD en 1 jour
(0 Commentaires)
0.0
idlevol

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

50 $ USD en 1 jour
(0 Commentaires)
0.0