Back up emails, accounts and contacts in Thunderbird on Ubuntu based distributions

<< More Tips   |   Added On: 24/12/15   |    Category: Ubuntu    |    Number of Views: 757

Tweet

Note: This tutorial will also work in Kubuntu, Lubuntu, Xubuntu, Ubuntu Gnome, Ubuntu Mate, Linux Mint and other Ubuntu Based Distributions.



If your moving to a new Linux distribution and need to backup all your emails, accounts and contacts in Thunderbird on Ubuntu, and other Ubuntu based distributions enter your home directory and press control + h to show hidden files or view hidden files from your file manager.

Scroll down and locate the .thunderbird directory, and back up everything inside the directory, you will either have two or three files here, the two important ones are {profile_name}.default and profile.ini, make sure you check and double check you have backed these up before deleting.


Back all files up in the directory

After you have reinstalled Thunderbird, start Thunderbird then close it again. This will create the hidden .thunderbird folder in your home directory.

Enter the .thunderbird directory and then delete the current folders and files, then copy over your back ups that you made earlier.



When you next restart Thunderbird all your emails, accounts and contacts will be restored. I have used this method a few times without fail.

It is possible to create a bash script to automatically back everything inside the .thunderbird directory once a day to another folder, or external hard drive so you always have a backup on hand. There is nothing worse than losing all your emails.