[kdepim-users] Maildir Backend for Akonadi?

Andras Mantia amantia at kde.org
Tue Aug 9 15:47:39 BST 2011


Hi,

Georg Wittenburg wrote:
>>  No, the cache is right now in the database. Why would you want a second
>> cache? With IMAP the cache is synchronized relatively often with the
>> server, so you have everything on the server as well.
>>  With kmail2 the difference between disconnected is online IMAP is just
>>  that
>> in disconnected mode not only the headers are downloaded, but the mail
>> body as well. The storage is the same (the database and the file_db_data
>> folder).
> 
> My local mail cache is part of the data that I include in regular backups.
> I prefer all my important data (such the mail contained in the mail cache)
> to be in a format that is simple and straightforward, and will be readable
> in ten years time. Thus, I'd prefer to have my local cache in maildir
> format rather than the Akonadi DB format.
> 
> Note that I don't want a second cache, I merely want my main cache to be
> in maildir format as it used to be with KMail1. 

Unfortunately this is not possible. What you can do is to backup not the 
database itself, but write a script that backups the mysql database in text 
format (using sql commands) and the file_db_data directory as well.
This will give you a format that is usable in the future as well. I doubt 
the SQL databases will disappear soon. ;)
 The other solution is to make an exporter from akonadi db into maildir 
format and ivoke this exporter from your backup script.

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



More information about the kdepim-users mailing list