This how-to shows you an easy way to backup and then restore your thunderbird data including your emails
It is a good idea to backup from time to time your data, and maybe some of our most valuable data now a days are our emails, and email addresses.
Today I will show you which steps you need to backup and then restore to the same machine or to another one your Thunderbird data. Depending on which distribution you are using you should have one of these directories:
or <p class="system">$HOME/.mozilla-thunderbir</p>
inside there there is a file called
This is the content of mine:
[General] StartWithLastProfile=1 [Profile0] Name=default IsRelative=1 Path=llbevfct.default
tar -czf thunderbird_data.tar.gz llbevfct.default/
This will create a file called thunderbird_data.tar.gz with the content of all files inside llbevfct.default which is the directory where all my emails and other data is stored, check out for the right name of your directory.
Restoring archive Once you have your new Linux installation, or you if you want to restore your data in the same machine, just copy that file to the appropriate directory. $home/.thunderbird or $HOME/.mozilla-thunderbir, and uncompress it with:
tar xvzf thunderbird_data.tar.gz
then edit the file profiles.ini and change the line
so it point to your newly created (uncompressed) directory.