Maui Forums
redirect Kmail databases - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Software & Applications (https://forums.mauilinux.org/forumdisplay.php?fid=77)
+--- Thread: redirect Kmail databases (/showthread.php?tid=24257)



redirect Kmail databases - benit - 1st February 2017

I would like to have my Kmail email databases on a separate partition to keep the maui installation itself small in size.

Which databases do I have to redirect / where are they located and what is the best way to do this? Simply copy them and use a symlink?

Thanks a lot for helping!


RE: redirect Kmail databases - AJSlye - 1st February 2017

Like all personal data the files are in your home partition.
Many Linux users, myself included, like to keep our home directories (/home) on a separate drive and/or partition by default.
However, yes symlinking is one method that could be used if you didn't partition in this way.


RE: redirect Kmail databases - benit - 1st February 2017

my problem in the past with the /home on a separate partition was that depending on which applications I was using huge unexpected amounts of data "appeared" and there was a partition overflow. Spideroak.com backup for example can produce large temporary databases during first backup of large amounts of data.

And the alarm mechanism with Plasma was almost not noticable (one short warning if I was lucky), so this happened several times. Each time killing all my Dolphin bookmarks and a lot of other tedious settings. This is why this time I decided for one larger partion with enough buffer for /home , /root, ... I find it more difficult to balance size of each partition precisely in the case of such "surprises".

But coming back to my question:

Which databases do I need to redirect?


RE: redirect Kmail databases - AJSlye - 1st February 2017

By default Akonadi and Kontact (kmail) store your emails in the following locations:
For local email, it will probably be under ~/.local/share/local-mail/.
For IMAP or remote email, these will be retained within it's datastore, which can be found at ~/.local/share/akonadi/.

For other settings they would be under ~/.config.


RE: redirect Kmail databases - benit - 2nd February 2017

I use IMAP, but have activated option to download all emails for offline usage


RE: redirect Kmail databases - wonder - 2nd February 2017

In the past, I try to use Kmail, and are good, beatiful with some characteristics very good, I was used Kmail for some mails accounts all in imap.
My problems started when I want made a backup only for databases of Kmail for restore same databases in other computer, this fail, also, I try to restore in my computer on create the databases, also, fail.
Always, I was used the option in Kmail for made/restore backups.
In this thread, I explained my problem:
https://forum.kde.org/viewtopic.php?f=215&t=136623

Like I view that I can't backup/restore like thunderbird, for example, now not use Kmail and use TB.

Regards.


RE: redirect Kmail databases - AJSlye - 2nd February 2017

(2nd February 2017, 0:11)benit Wrote: I use IMAP, but have activated option to download all emails for offline usage

In that case they should be stored under ~/.local/share/.local-mail.
https://userbase.kde.org/Akonadi
https://blogs.kde.org/node/4503