Backing up KMail

This section describes various backup solutions within KMail.

Archiving

FolderArchive Folder...

This feature is also available through the context menu launched with a right mouse button, then select Archive Folder.... This will open a dialog that allows you to create a single archive of the currently selected folder.

The Folder: shows the currently selected folder, if you wish to change the folder to be archived click the folder icon. The Format: drop down menu allows you to choose a format (choices are: zip, tar, tar.bz2, and tar.gz). If you would like to change the default name or location, click the folder at the end of Archive File.

Check the Delete folder and subfolders after completion if you would like everything you archived deleted. By default all subfolders will be archived, uncheck Archive all subfolders if you only want to archive the parent folder.

SettingsConfigure Automatic Archiving...

This is a powerful tool that can be used to assist in backing up your email. Please see Automatic Archiving for details.

SettingsConfigure Folder Archive Agent...

This feature allows you to archive single emails to a specified folder.

Folder Archive can be enabled on a per account basis to allow you to archive individual emails through the right click menu.

Folder Archive is used to archive single emails to a specified folder. For instance, you need to archive all of those pesky bill receipts in one place. Folder Archive can easily accommodate those needs. Start by using SettingsConfigure Folder Archive Agent... in KMail's reader window to open a dialog to set up the folder archive agent.

This dialog will have a tab for each of your configured accounts including Local Folders and you will need to configure all accounts that you wish to use this feature with. The first option allows you to enable/disable the folder archive agent. It is disabled by default, to enable check the Enable checkbox. You can set the location of your Archive folder by clicking the folder icon next to Folder: and selecting the folder you wish to use. For example, you could create a folder called bill receipts by clicking the New Subfolder... and typing bill receipts in the dialog. You may choose a folder location anywhere, e.g... a folder in your Local Folders or on your IMAP server.

You have several choices on how the emails will be archived:

Unique folder

Uses the selected folder sorted by date.

Folder by months

Creates new folders inside the selected folder by months.

Folder by years

Creates new folders inside the selected folder by years.

Now when you receive a bill receipt, right mouse button the email and select Archive from the menu. The email will be archived into your configured archive folder for easy viewing later on.

Exporting

ToolsExport KMail Data...

This feature exports settings and local mail to a compressed file. Please see pimsettingexporter for details.