Sync Thunderbird Addressbook with Baikal using carddav

In my last article I described how to import Contacts from your Goggle Account. Now I will describe how to bring those (and also every other) contacts to baikal and how to setup synchronisation between Thunderbird and Baikal.

First of all we need to install the Sogo-Adapter Addon for Thunderbird (this provides DAV)


After that, we are able to create a Remote-Address Book in Thunderbird. Here you can see my settings for that address book.

The value „philipp“ is the ID of my Baikal-user, „default“ is the token-id of my address book in baikal (see related Baikal article).

Remote Address book
Remote Address book

Now you can move your contacts from your Google Addressbook to your Baikal Address book via drag&drop (or via copy&paste). After you have moved/copied the contacts to the baikal address book you should run the sync-command to push the contacts to your baikal-server (right-click on your baikal address book and hit „Synchronize“).

After that, the contacts should be available in your baikal database. Let’s to a simple check:

philipp@eliteX:~$ mysql -u baikalUser -p
Enter password: 
// removed some simple lines...

mysql> use baikal
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select count(*) from cards;
| count(*) |
|      323 |
1 row in set (0.00 sec)


In my case, all of my 323 Google Contacts were stored in the database. Now I can sync every device and tool (Thunderbird, Android, etc.) with my baikal address book.

Related articles: