KMail/Backup Options: Difference between revisions

From KDE UserBase Wiki
m (Correct bolded words.)
(Marked this version for translation)
 
(16 intermediate revisions by 5 users not shown)
Line 6: Line 6:
Several backup options within [[Special:myLanguage/KMail|KMail]], the email application from KDE.</translate>
Several backup options within [[Special:myLanguage/KMail|KMail]], the email application from KDE.</translate>


<translate>===Archiving=== <!--T:3-->
<translate>===Manual Archiving=== <!--T:3-->
 
</translate><span id="Archive Folder"></span> <translate>


<!--T:4-->
<!--T:4-->
Line 16: Line 14:
Or the context menu launched with a right mouse button, then select <menuchoice> Archive Folder.... </menuchoice>  
Or the context menu launched with a right mouse button, then select <menuchoice> Archive Folder.... </menuchoice>  
This will open a dialog that allows you to create a single archive of the currently selected folder.
This will open a dialog that allows you to create a single archive of the currently selected folder.
The archive file name will consist of the prefix Archive_, the path of the selected folder in '''KMail''''s folder list, the date in format year-month-day and the selected file extension e.g. '''''Archive_Local Folder_inbox_2013-09-03.tar.bz2'''''.  
The archive file name will consist of the prefix Archive_, the path of the selected folder in '''KMail's''' folder list, the date in format year-month-day and the selected file extension e.g. <tt>Archive_Local Folder_inbox_2013-09-03.tar.bz2</tt>.  


<!--T:6-->
<!--T:6-->
[[Image:Kmail_archivefolder.png|center|thumb|Archive Folder|300px]]
[[Image:Kmail_archivefolder.png|center|thumb|Archive Folder|300px]]


<!--T:7-->
<!--T:7-->
The text box '''Folder:''' shows the currently selected folder, if you wish to change the folder to be archived click the folder icon.  
The text box '''Folder:''' shows the currently selected folder, if you wish to change the folder to be archived click the {{Icon|folder}} icon.  


<!--T:8-->
<!--T:8-->
The drop down menu '''Format:''' allows you to choose a format (choices are: zip, tar, tar.bz2, and tar.gz).
The drop down menu <menuchoice>Format:</menuchoice> allows you to choose a format (choices are: zip, tar, tar.bz2, and tar.gz).


<!--T:9-->
<!--T:9-->
If you would like to change the default name or location, click the folder at the end of Archive File.
If you would like to change the default name or location, click the icon {{Icon|document-open}} at the end of <menuchoice>Archive File</menuchoice>.


<!--T:10-->
<!--T:10-->
Check the '''Delete folder and sub-folders after completion''' if you would like everything you archived deleted.
Check the <menuchoice>Delete folder and sub-folders after completion</menuchoice> if you would like everything you archived deleted.


<!--T:11-->
<!--T:11-->
By default all sub-folders will be archived, deselect '''Archive all sub-folders''' if you only want to archive the parent folder.
By default all sub-folders will be archived, deselect <menuchoice>Archive all sub-folders</menuchoice> if you only want to archive the parent folder.
 
=== Automatic Archiving === <!--T:57-->


<!--T:12-->
<!--T:12-->
* <menuchoice>Settings → Configure Automatic Archiving...</menuchoice>  
* <menuchoice>Settings → Configure Automatic Archiving...</menuchoice>  
<!--T:58-->
Since KDE 4.12, you can configure automatic archiving of a '''KMail''' folder.


<!--T:13-->
<!--T:13-->
This is a powerful tool that can be used to assist in backing up your email automatically.  
This is a powerful tool that can be used to assist in backing up your email automatically.  
The archive file name will consist of the prefix Archive_, the path of the selected folder in '''KMail''''s folder list, the date in format year-month-day and the selected file extension e.g. '''''Archive_Local Folder_inbox_2013-09-03.tar.bz2'''''.  
The archive file name will consist of the prefix Archive_, the path of the selected folder in '''KMail's''' folder list, the date in format year-month-day and the selected file extension e.g. <tt>Archive_Local Folder_inbox_2013-09-03.tar.bz2</tt>.


<!--T:14-->
<!--T:14-->
Line 48: Line 50:


<!--T:15-->
<!--T:15-->
First select the folder you would like to archive by clicking the add button.
First, select the folder you would like to archive by clicking the <menuchoice>Add...</menuchoice> button.




Line 55: Line 57:


<!--T:17-->
<!--T:17-->
Select the format you would like to save it in. e.g. '''''.tar.bz2''''' in the drop down list.
Select the format you would like to save it in. e.g. <tt>.tar.bz2</tt> in the drop down list.


<!--T:18-->
<!--T:18-->
By default '''Archive all sub folders''' is enabled. Deselect this if you only want the parent folder archived.
By default <menuchoice>Archive all sub folders</menuchoice> is enabled. Deselect this if you only want the parent folder archived.


<!--T:19-->
<!--T:19-->
You can type in the location you would like to save your archive, or click the Open File Dialog button to select the folder.
You can type in the location you would like to save your archive, or click the {{Icon|document-open}} button ('''Open File Dialog''') to select the folder.


<!--T:20-->
<!--T:20-->
Select how often you wish to backup through the drop down menus next to '''Backup each:'''.
Select how often you wish to backup through the drop down menus next to <menuchoice>Backup each:</menuchoice>.


<!--T:21-->
<!--T:21-->
Line 73: Line 75:


<!--T:23-->
<!--T:23-->
*If you have already added mail archive jobs the Configure Archive Mail Agent dialog will list and allow to modify them.
*If you have already added mail archive jobs the '''Configure Archive Mail Agent''' dialog will list and allow to modify them.


<!--T:24-->
<!--T:24-->
Line 85: Line 87:


<!--T:27-->
<!--T:27-->
* <menuchoice>Settings Configure Folder Archive Agent...</menuchoice>
* {{menu|Settings|Configure KMail ...|Accounts [Tab]|Receiving [Tab]|Modify [Button]}}


<!--T:28-->
<!--T:59-->
This feature allows you to archive single emails to a specified folder.
This feature allows you to archive single emails to a specified folder.
 
<!--T:29-->
For instance, you need to archive all of those pesky bill receipts in one place. Folder Archive Agent can easily accommodate those needs.  
For instance, you need to archive all of those pesky bill receipts in one place. Folder Archive Agent can easily accommodate those needs.  


Line 97: Line 98:


<!--T:31-->
<!--T:31-->
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.
This dialog can be shown 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.


<!--T:32-->
<!--T:32-->
The first option allows you to enable/disable the folder archive agent. It is disabled by default, to enable check the Enable check box.
The first option allows you to enable/disable the folder archive agent. It is disabled by default, to enable check the <menuchoice>Enable</menuchoice> check box.


<!--T:33-->
<!--T:33-->
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.
You can set the location of your Archive folder by clicking the {{Icon|folder}} icon next to <menuchoice>Archive Folder:</menuchoice> and selecting the folder you wish to use.


<!--T:34-->
<!--T:34-->
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.
For example, you could create a folder called “bill receipts” by clicking the <menuchoice>New Subfolder...</menuchoice> 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.


<!--T:35-->
<!--T:35-->
Line 112: Line 113:


<!--T:36-->
<!--T:36-->
*Unique folder - Uses the selected folder sorted by date.
*<menuchoice>Unique folder</menuchoice> - Uses the selected folder sorted by date.


<!--T:37-->
<!--T:37-->
*Folder by months - Creates new folders inside the selected folder by months.
*<menuchoice>Folder by months</menuchoice> - Creates new folders inside the selected folder by months.


<!--T:38-->
<!--T:38-->
*Folder by years - Creates new folders inside the selected folder by years.
*<menuchoice>Folder by years</menuchoice> - Creates new folders inside the selected folder by years.


<!--T:39-->
<!--T:39-->
Now when you receive a bill receipt, right mouse button the email and select Archive from the menu.  
Now when you receive a bill receipt, right mouse button the email and select <menuchoice>Archive</menuchoice> from the menu.  
The email will be archived into your configured archive folder for easy viewing later on.
The email will be archived into your configured archive folder for easy viewing later on.


===Exporting=== <!--T:40-->
===Exporting=== <!--T:40-->
</translate><span id="pimsettingexporter"></span><translate>


<!--T:41-->
<!--T:41-->
Line 148: Line 151:


<!--T:48-->
<!--T:48-->
Once you have closed them, click '''Yes''' to continue, or '''No''' to cancel.
Once you have closed them, click <menuchoice>Yes</menuchoice> to continue, or <menuchoice>No</menuchoice> to cancel.


<!--T:49-->
<!--T:49-->
You will be prompted to create a backup name, enter the name into the File textbox, e.g. '''''mymailsettings'''''.
You will be prompted to create a backup name, enter the name into the <menuchoice>File</menuchoice> textbox, e.g. '''''mymailsettings'''''.


<!--T:50-->
<!--T:50-->
The default file type it saves as is .zip, if you want a different type, deselect Automatically select filename extension and append the extension to the end of your file name.
The default file type it saves as is .zip, if you want a different type, deselect <menuchoice>Automatically select filename extension</menuchoice> and append the extension to the end of your file name.


<!--T:51-->
<!--T:51-->
Line 160: Line 163:


<!--T:52-->
<!--T:52-->
{{Note|'''KMail''' Mails selection will only backup mails in your “Local Folders”, it will backup IMAP settings and download messages upon restore. If you have emails on a IMAP server you wish to be backed up, you should use Folder Archive Agent to archive those emails to a local folder.}}
{{Note|<menuchoice>KMail Mails</menuchoice> selection will only backup mails in your '''Local Folders''', it will backup IMAP settings and download messages upon restore. If you have emails on a IMAP server you wish to be backed up, you should use Folder Archive Agent to archive those emails to a local folder.}}


<!--T:53-->
<!--T:53-->
The final screen shows the log of the backup up process. You can close the window once you have reviewed the log and verified your backup was successful.
The final screen shows the log of the backup process. You can close the window once you have reviewed the log and verified your backup was successful.


<!--T:54-->
<!--T:54-->

Latest revision as of 08:50, 17 October 2020

Backup Options ...

Several backup options within KMail, the email application from KDE.

Manual Archiving

  • Folder → Archive Folder...

Or 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 archive file name will consist of the prefix Archive_, the path of the selected folder in KMail's folder list, the date in format year-month-day and the selected file extension e.g. Archive_Local Folder_inbox_2013-09-03.tar.bz2.

Archive Folder

The text box Folder: shows the currently selected folder, if you wish to change the folder to be archived click the icon.

The drop down menu Format: 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 icon at the end of Archive File.

Check the Delete folder and sub-folders after completion if you would like everything you archived deleted.

By default all sub-folders will be archived, deselect Archive all sub-folders if you only want to archive the parent folder.

Automatic Archiving

  • Settings → Configure Automatic Archiving...

Since KDE 4.12, you can configure automatic archiving of a KMail folder.

This is a powerful tool that can be used to assist in backing up your email automatically. The archive file name will consist of the prefix Archive_, the path of the selected folder in KMail's folder list, the date in format year-month-day and the selected file extension e.g. Archive_Local Folder_inbox_2013-09-03.tar.bz2.

Automatic Archiving

First, select the folder you would like to archive by clicking the Add... button.


Automatic Archiving

Select the format you would like to save it in. e.g. .tar.bz2 in the drop down list.

By default Archive all sub folders is enabled. Deselect this if you only want the parent folder archived.

You can type in the location you would like to save your archive, or click the button (Open File Dialog) to select the folder.

Select how often you wish to backup through the drop down menus next to Backup each:.

  • If you are limited on drive space you will want to set a limit on Maximum number of archive.
  • If you have added or modified an archive job it will be executed automatically after closing the dialog.
  • If you have already added mail archive jobs the Configure Archive Mail Agent dialog will list and allow to modify them.

You can use the check box at the left of each entry in the list to enable or disable archiving of this job.

Using the context menu launched with a right mouse button click on an archive job you can open the folder containing the archives or start the archive job immediately.

Warning

This will overwrite an existing archive created earlier at the same day without notification.


  • SettingsConfigure KMail ...Accounts [Tab]Receiving [Tab]Modify [Button]

This feature allows you 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 Agent can easily accommodate those needs.

Folder Archive Agent

This dialog can be shown 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 check box.

You can set the location of your Archive folder by clicking the icon next to Archive 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

  • Tools → Export KMail Data...

Or pimsettingexporter can be run as a standalone application by running pimsettingexporter in the application launcher.

This feature exports settings and local mail to a compressed file.

Backing up is an essential practice for all users. PIM Setting Exporter is a great tool for backing up or moving all of your settings and email to a new installation. You also use PIM Setting Exporter to import previous backups.

PIM Setting Exporter

To perform a backup, select File → Back Up Data..., it will prompt you to close all kdepim applications.

Warning

Make sure you close all windows, data loss is possible if you don't.


Once you have closed them, click Yes to continue, or No to cancel.

You will be prompted to create a backup name, enter the name into the File textbox, e.g. mymailsettings.

The default file type it saves as is .zip, if you want a different type, deselect Automatically select filename extension and append the extension to the end of your file name.

The next screen will allow you to select what you wish to backup, by default everything is selected.

Note

KMail → Mails selection will only backup mails in your Local Folders, it will backup IMAP settings and download messages upon restore. If you have emails on a IMAP server you wish to be backed up, you should use Folder Archive Agent to archive those emails to a local folder.


The final screen shows the log of the backup process. You can close the window once you have reviewed the log and verified your backup was successful.

To restore your backup, select File → Restore Data... within pimsettingexporter.