Problems syncronising files with unison

Posted by kmlhk79 on Wed 8 Nov 2006 at 11:59

I want to sync my notebook home directory data to my Debian Sarge server using Unison. Unison is a file-synchronisation tool which allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.

I have tested the Unison on a Desktop PC running Sarge with no problem.

However, My notebook is running Debians testing release. I receive an "incorrect version" error when I try to sync my notebook data to my Debian Sarge Server with Unison.

I searched the web and found that Unison does not talk to each other on different version.

This is problem. I am using Debian Sarge ( stable ) on the server side. It was because stability is very important to me.

I am using Debian Testing on my notebook, because fast updates on new Desktop Apps is the key for desktops.

The Unison in Debian stable is on version 2.9.1 and version 2.13.16 on Debian Testing. And they are not talk with each other.

1. Are there any workarounds for this problem ?

(P.S. I am not going to down grade or upgrade the Debian on my notebook or server, I know that running the same Debian version will solve this problem, But I don't want to do that.).

2. Up to now, Unison does not support UniCode.

If the file/directory name is not ASCII , You will get a strange filename after syncing the files.

This is bad on multilingual system.

So, is there any better solution to synchronise files between two hosts? (P.S. I really do mean sync not backup.)

Any comment are welcome.


This article can be found online at the Debian Administration website at the following bookmarkable URL (along with associated comments):

This article is copyright 2006 kmlhk79 - please ask for permission to republish or translate.