Computers
Blog | Computers > multisync over ssh

Syncing addressbook and calendar with multisync over ssh

I use evolution at work to store my calendar and address book. I want to be able to synchronize this information on with evolution on my laptop, and I want to do this through an ssh server. I have found a twisted way of doing this throught multisync.

Multisync is an application dedicated to synchronizing PIM (personnal information manager) data. It can be used to connect evolution to other PIM application such as cellphones. Its successor is opensync. I did not investigate opensync as package in my distribution were to old to show much development.

Unfortunately it can do this only through dedicated servers, and if you want to synchronize 2 computers with evolution you have to set one up as a special server. I want the info to transit through ssh and be store on a computer with no dedicated software.

The opie/zaurus plugin actually can use an sftp connection to transfer the information. So I created a synchronization pair connecting evolution to an opie/zaurus. In the opie/zaurus plugin I entered the ssh server that I wanted to use to do the synchronization (using the ssh standard port 22).

Now the synchronization fails if you do only this, as the opie/zaurus expects a specific file structure on the server. All I did was to create these directories and files, but leave them empty:

.
|-- Applications
|   |-- addressbook
|   |   `-- addressbook.xml
|   |-- datebook
|   |   `-- datebook.xml
|   `-- todolist
|       `-- todolist.xml
|-- Settings
|   `-- Categories.xml

After this I ran the synchronization and my PIM info was copied to the ssh server.

Doing the same operation on another computer allows to synchronize the PIM data with the data store on the ssh server.

This is a hack but it works reasonably well. The only thing that I am dissatisfied with is that it pollutes the directory structure of my ssh server by adding useless non hidden directories.

Please, please, multisync/opensync developers, add an sftp/ftp server plugin that is just a modified version of the opie/zaurus plugin with a slightly different GUI (to help the lusers) and uses hidden directories.

Or maybe the file plugin of opensync will be able to use files on remote ftp/sftp server ?

Return to Top     Page last modified Sat Apr 14 01:55:25 2007.     Created by Gaël Varoquaux with rest2web
Best viewed with firefox, or any browser that respects standards.