Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: kmail backup

  1. #1

    Default kmail backup

    Hello,

    how can I beckup e-mails from pop3 KMail account. I was able to copy folder /home/username/.kde4/share/apps/kmail with all messages in the past. But now there is not this option with akonadi. I'm not able to boot my opensuse now, because my root partition is probably demaged. But from Live distro I can attach my /home partition and copy some files to external HD. I have copy .kde4 and .local folders. Will it works if I copy this folders to my new opensuse. I'm afraid that my HD is going out, thet I want to beckup as much as posible from my /home partition till I can.

  2. #2
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,450

    Default Re: kmail backup

    You need to say which version you are using. with 4.14.3 which I am using, everything is in local-mail. So it is simple a matter of copying everything from local-mail.

  3. #3
    Join Date
    Sep 2012
    Location
    Near Cape Canaveral Florida
    Posts
    190

    Default Re: kmail backup

    Quote Originally Posted by john_hudson View Post
    You need to say which version you are using. with 4.14.3 which I am using, everything is in local-mail. So it is simple a matter of copying everything from local-mail.
    Sorry to ask but can you please provide the complete path to where KMail stores e-mails? I can't locate any "local-mail" folder that has e-mails in it.

    We're using the same version 4.13.3 as you are and SuSE 13.2.

    Thanks for a roadmap with all the turns and twists to the destination.

    bosdad

  4. #4
    Join Date
    Jun 2008
    Location
    Sogndal, Noreg
    Posts
    1,103

    Default Re: kmail backup

    It should be here:
    /home/(user)/.local/share/local-mail
    OpenSuSE 13.1, KDE 4.11.5, 64bit
    Gigabyte 990FXA-UD3, AMD FX8350, MSI GeForce GTX 760, RME HDSP9632, 16GB HyperX Kingston DDR3, Samsung 840-Pro SSD 128GB, WD Desktop Black 1TB, Hitachi Deskstar 7K1000 750GB

  5. #5
    Join Date
    Jun 2008
    Location
    Sogndal, Noreg
    Posts
    1,103

    Default Re: kmail backup

    An alternative to copy the folder might be to export the mails: (Kontact >) KMail > Tools (I think)
    OpenSuSE 13.1, KDE 4.11.5, 64bit
    Gigabyte 990FXA-UD3, AMD FX8350, MSI GeForce GTX 760, RME HDSP9632, 16GB HyperX Kingston DDR3, Samsung 840-Pro SSD 128GB, WD Desktop Black 1TB, Hitachi Deskstar 7K1000 750GB

  6. #6
    Join Date
    Sep 2012
    Location
    Near Cape Canaveral Florida
    Posts
    190

    Default Re: kmail backup

    Quote Originally Posted by F_Sauce View Post
    It should be here:
    /home/(user)/.local/share/local-mail
    Yes, maybe it should, but there's nothing there.

    Three folders -- all of them empty.

    Cur
    New
    Tmp

    Now what would you suggest?
    Thx
    Gil

  7. #7
    Join Date
    Sep 2012
    Location
    Near Cape Canaveral Florida
    Posts
    190

    Default Re: kmail backup

    Quote Originally Posted by F_Sauce View Post
    An alternative to copy the folder might be to export the mails: (Kontact >) KMail > Tools (I think)
    Sorry, don't understand.

    If I open Kontact, then KMail, then tools, I end up at PIM Setting Exporter. I have no idea what that is.

    This PIM Setting Exporter wants to know what file I want to export. But I have no idea. If I knew which file I wanted to export (which one contained the e-mails) I would not need to go through all of this, right?

    Please be more specific. I'm asking for directions.

    Where does KMail store the e-mails?

    Thank you. Appreciate a detailed roadmap.

    bosdad

  8. #8
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,748

    Default Re: kmail backup

    Don't use kmail but this looks like what you want

    https://userbase.kde.org/KMail/FAQs_...ame_machine.29

  9. #9
    Join Date
    Jun 2008
    Location
    Sogndal, Noreg
    Posts
    1,103

    Default Re: kmail backup

    Quote Originally Posted by bosdad View Post
    Yes, maybe it should, but there's nothing there.

    Three folders -- all of them empty.

    Cur
    New
    Tmp

    Now what would you suggest?
    Thx
    Gil
    Hi!

    Aha, then they might be hidden, enable view hidden files in Dolphin when in the same dir path as I mentioned above.
    If I remember correctly, mine were hidden as well initially after I migrated from from KDE3 to KDE4, changes have been made during KDE4's deveopment.

    Hope you find them; otherwise it should be possible to find the path in the config files, we may then check that later.

    BTW,
    If you open Kontact and have the Mail tab (left) active you should find the option to Export Mail Data under the Tools menu (top row).
    Clicking on that will give you the PIM exporter window you mentioned in your second reply, open the File menu and choose Back Up Data.
    I have gone through this back-up process but it's several years ago so I cant tell which options you will get on the way, I hope it is intuitive though.

    I suppose this last method is the 'official' procedure for both backing up, restoring and migrating/exporting mails with KMail.

    Best of luck,
    Olav
    OpenSuSE 13.1, KDE 4.11.5, 64bit
    Gigabyte 990FXA-UD3, AMD FX8350, MSI GeForce GTX 760, RME HDSP9632, 16GB HyperX Kingston DDR3, Samsung 840-Pro SSD 128GB, WD Desktop Black 1TB, Hitachi Deskstar 7K1000 750GB

  10. #10
    Join Date
    Jun 2008
    Location
    Sogndal, Noreg
    Posts
    1,103

    Default Re: kmail backup

    PS

    It could also be that the hidden mail directory(-ies) is/are located under /home/(user)/.local/share and not /home/(user)/.local/share/local-mail
    So just up a level in the directory hierarchy.

    I am on my phone so I'm a bit restrained in regard checking/googling too much, but try both directories.
    OpenSuSE 13.1, KDE 4.11.5, 64bit
    Gigabyte 990FXA-UD3, AMD FX8350, MSI GeForce GTX 760, RME HDSP9632, 16GB HyperX Kingston DDR3, Samsung 840-Pro SSD 128GB, WD Desktop Black 1TB, Hitachi Deskstar 7K1000 750GB

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •