You are not logged in.

#1 2009-06-04 23:26:14

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Synchronisation between server and local systems

Hello guys,

I hired a Vserver running with Debian and would like to synchronise it spaced (after/before start/shutdown of my local systems and in between every 30 minutes or so) with my local systems, more precisely with my home directories or some directories I define and not the complete system.

How could that be realised best?

Should I take some programs or are there any small scripts as well that do that work?

I apologise for that stupid question but I have not any experiences with issues like backup and synchronisation.

Thank you in advance. wink

Last edited by orschiro (2009-06-04 23:28:31)

Offline

#2 2009-06-04 23:34:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Synchronisation between server and local systems

rsync is what you're looking for. Install it, read the man page, google for other info. There is a page in the Arch wiki, but it's not complete yet.

Offline

#3 2009-06-05 15:14:40

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Synchronisation between server and local systems

Hello tomk,

rsync is not exactly what I'm looking for, but now I found unison and that's simply great. smile

Best Regards

orschiro

Last edited by orschiro (2009-06-05 15:14:54)

Offline

#4 2009-06-16 17:02:57

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Synchronisation between server and local systems

Hello guys,

I've come up to a problem that I can't solve. I use a central server and two clients to synchronise them upwards and downwards. But the problem is, when I run unison from one of the clients and try the same from the other one, unison has problems with the archive because it changed during the last time the other client synchronised.

How can I handle that problem?

Best regards

orschiro

Last edited by orschiro (2009-06-16 17:04:04)

Offline

#5 2009-06-16 17:43:16

tkdfighter
Member
From: Switzerland
Registered: 2009-01-28
Posts: 126

Re: Synchronisation between server and local systems

Basically, you have two options: either merge manually or override. Both are presented to you by unison. Take a look at the documentation for a more in-depth explanation.

Edit: Just remembered: there's also a good wiki article on it, you might want to check that out, too.

Last edited by tkdfighter (2009-06-16 17:44:26)

Offline

#6 2009-06-16 17:55:41

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Synchronisation between server and local systems

Hello tkdfighter,

sorry but I can't follow you. Could you please be more detailed because I don't know how the functions you speak from can help me in my case.

Basically I just have that problem because I synchronise the server from two different machines and so the archive name differ from machine to machine. I already took a look on the Wikipage but unfortunately it helped me not with that problem.

Greets

Last edited by orschiro (2009-06-16 17:56:24)

Offline

Board footer

Powered by FluxBB