This page will describe what you need to do to synchronize Evolution 2.0 to a file-system
- The first thing you need is to have OpenSync and the plugins installed. You will need the evolution2_sync and the file-sync plugin. If you dont have it yet, head over to the download section
Now you can add a new SyncGroup (Note: This example assumes you are using the msynctool):
msynctool --addgroup evo2-sync
When you run
msynctool --listgroups
it should list your newly created group:
Available groups: evo2-sync
Now you have to add the members to this group. We will need 2 members for our example: evo2 and the file-sync plugin:
msynctool --addmember evo2-sync evo2-sync msynctool --addmember evo2-sync file-sync
Note: The first argument to the --addmember command is the group to which you want to add a member, the second argument is the name of the plugin to add.
If you get something like:
./msynctool --addmember evo2-sync evo2-sync Unable to instance plugin with name asd: Unable to find the plugin "evo2-sync"
means that OpenSync cannot find the plugin and you have to install it.
The next thing you have to do is to configure the plugins. You have 2 possibilities:
- The first (and easier) option is to use the gui multisync-gui (0.91 or later) to configure the syncgroup
- The second option is to edit the configuration using the msynctool. This will open a editor where you can hand edit the configuration file.
To configure the group using the gui do this:
multisync-gui
should open the gui. Now select the group and click on edit. A new window will come up showing the group. Now click on configure for both plugins. In the options for the evolution2 plugin you can select which calendar you want to synchronize. In the options for the file-sync plugin you have to select to location where you want to synchronize to (Example: /home/joe/synctest). Close all windows by pressing OK and exit the gui. Note that although you configured the group with the gui it is still usable by the command line tool (and vice versa).
To configure the plugin using msynctool do this:
msynctool --configure evo2-sync 1
Depending on which plugin you added first you will either get a empty file or a file containing xml. If you see a empty file, just enter the location in the file-system where you want to synchronize to (Example: /home/joe/synctest) and save the file.
If your file contains a xml it will look like this:
<?xml version="1.0"?> <config> <address_path>default</address_path> <calendar_path>default</calendar_path> <tasks_path>default</tasks_path> </config>
Edit this file that it contains the links to your evo2 addressbook, calendar etc (Don't forget to change the username here) if you do not like the default:
<?xml version="1.0"?> <config> <address_path>file:///home/joe/.evolution/addressbook/local/system</address_path> <calendar_path>file:///home/joe/.evolution/calendar/local/system</calendar_path> <tasks_path>file:///home/joe/.evolution/tasks/local/system</tasks_path> </config>
Save it and exit the editor.
Now your group is ready for usage! Do:
msynctool --sync evo2-sync
and the contacts etc from evo2 should appear in the location you specified.
