Re: [kde] Restoring a KMail folder from a generic backup
- Date: Wed, 16 Jul 2014 21:20:10 -0400
- From: John M Cavallo <johnc0102@xxxxxxxxxxx>
- Subject: Re: [kde] Restoring a KMail folder from a generic backup
On Tuesday, July 15, 2014 03:58:35 PM Kevin Krammer wrote:
> On Tuesday, 2014-07-15, 09:27:52, John M Cavallo wrote:
> > On Tuesday, July 15, 2014 01:28:10 PM Frank Steinmetzger wrote:
> > > On Sun, Jul 13, 2014 at 01:04:57PM -0400, John M Cavallo wrote:
> > > > I am using KMail 4.10.5 on a Linux system and have a regular backup of
> > > > my
> > > > entire home directory. I was manually cleaning up my KMail folders
> > > > using
> > > > 'Archive Folder...' with the 'Delete folder and subfolders after
> > completion'
> > > > when I accidentally overwrote an archive of another folder. Is there a
> > > > way
> > of
> > > > restoring the lost mail folder from the backup?
> > >
> > > Well, go to the backup folder and live folderÂ with $file_manager and
> > > copy
> > > it back. AFAIK, KMail uses a Maildir âdialectâ, so you can even copy
> > > single mails. If you donât trust that or fear you would overwrite even
> > > more in the process, then create a new subfolder in KMail, exit KMail,
> > > and copy your backup in there. You can then start KMail again and sort
> > > out the emails from there.
> > >
> > > Â In the past, emails were stored in ~/.kde4/share/apps/kmail/Mail. But
> > > with KMail 2, at some point the switch was made to
> > > ~/.local/share/local-mail for your local folders.
> > Thanks Frank, unfortunately things have changed recently. I checked both
> > ~/.kde/share/apps/kmail and ~/.local/share/local-mail, and came up empty.
> > I
> > have previously restored the plain text files when I made this type of
> > blunder before. Some recent changes in kmail have moved the mail storage
> > to
> > someplace else. I fear that it might be in a database (akonadi?) along
> > with
> > all of the rest KDE configuration, which would make a targeted restoration
> > very difficult.
> The database is not used for storing mails. If the folder is of a local
> storage backend, e.g. maildir, then the folder is a directory and the mails
> are files.
> Check the account's settings for the base path.
Kevin & Frank, thanks for the information. The files were in
.local/share/local-mail, I don't know why I missed it the first time (probably
mistyped the directory name).
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
More info: http://www.kde.org/faq.html.