[kdepim-users] kmail2 sync > akonadi db sync ???

Andras Mantia amantia at kde.org
Tue Jan 22 09:44:34 GMT 2013


Martin (KDE) wrote:

> Am 21.01.2013 22:35, schrieb Andras Mantia:
> 
>>> Do i have to sync to sync everything in .local/share/akonadi ?
>>> .kde4/share/config/akonadi* ?
>>> .config/akonadi/* ?
>> 
>> Usually, no, unless you *want* to sync also the database.
> 
> So all the minor problems if DB and local folder are out of sync are
> gone? 

No, they are not. Neverthless, with my suggested approach, it will work. 
Remember I wrote to sync KMail settings (if you want, I need to double check 
if it is 100% safe) and mails and nothing Akonadi related. Actually syncing 
mails is enough.

There is a drawback though, if you add a filter on one computer, it won't 
appear on the other.

> I remeber someone said on the kmail devel mailing list that copying
> mails and config without the akonadi DB is not supported. So is the
> akonadi DB a simple cache (as standard features are affected)?

As usually, the things are not black and white. Copying mails without 
copying the database is certainly supported and works. Copying Akonadi 
related settings without copying the database itself is what doesn't work.
That is where you can go out of sync . Let's say a config file refers to 
collection (doler) with ID 100, and that is folder Trahs on one computer and 
folder Inbox on the other, of course things will go wrong.So if you copy 
settings that refer to Akonadi database by ID, indeed you must also copy the 
database.
 But if you copy only local mails, you don't have to.

Andras
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users



More information about the kdepim-users mailing list