Comments on Setting Up Unison File Synchronization Between Two Servers On Debian Squeeze

Setting Up Unison File Synchronization Between Two Servers On Debian Squeeze This tutorial shows how to set up file synchronization between two Debian Squeeze servers with Unison. Unison is a file-synchronization tool similar to rsync, but the big difference is that it tracks/synchronizes changes in both directions, i.e., files changed on server1 will be replicated to server2 and vice versa.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

this would be cool, but curious if this would work in the ispconfig3 multi server environment.

By: Kalin Mandaliev

I will try it.

By: Anonymous

Wonderful article. Solved my problem precisely. Ideal for a first time user.

By: Anonymous



please help

i have ran unison flawlessy for some time now however i cannot get crontab to run it

my unison is in opt/bin/ but it rums from anywhere /. /root /.unison etc

 

so my settings are this (for every 2 minute test):

 */2     *       *       *       *       root    /opt/bin/unison profilename.prf -silent

 iv also tried:

*/2     *       *       *       *       root    unison profilename.prf -silent

and (for every minute test)

 *       *       *       *       *       root    /opt/bin/unison profilename.prf -silent

 and like i said  can run it flawlessly from any directory and this profile is local to local so i will not have any ssh or permission issues 

 

By: datruche

Nice how to set unison and automatize the bi-direction sync. One can also keep 'batch' and 'silent' to false or commented out, and add '-silent' to the cronjob. This way a manual 'unison server1 server2' will show the changes that request attention, e.g. a human choice.

The confs are a bit uneasy to read with the double line breaks (console + web).

By: mustang

can you provid tutorial for three or more computers with unison?