Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I back up Thuderbird 10.0.2 emails,etc to flash drive or external hard drive using Ubuntu 10.10

share|improve this question

Go to your home folder & press " ctrl + h " to view hidden folders

copy & backup " .thunderbird " folder

enter image description here

Inside .thunderbird you should see a bunch of files and folders named Cache, Mail, ImapMail etc

If not, then you have relocated your profile folder.

Your actual profile folder is defined in a file named 'profiles.ini'

Open it with a text viewer/editor and you will see something like this:


Name=Default User

The 'Path' is the real folder to backup.

share|improve this answer

Your mail and settings are located in your home folder under ".thunderbird" hidden folder. Just copy that folder to your USB

sudo cp ~/.thunderbird dev/<usb_drive>/thunderbird
share|improve this answer

I use this monster command:

rsync -rltgoDvz --modify-window=1 --delete ~/.thunderbird/  --exclude="**/global-messages-db.sqlite" --exclude="**/places.sqlite" --exclude="Crash*Reports/" --exclude="**/Cache/" --exclude="**/startupCache/" --exclude="**/OfflineCache/" /path/to/backup/thunderbird

This is for copying to a samba-mounted NAS. The options are "-avz" but minus -p, as permissions don't copy over correctly (so rsync is never happy). If copying to an ext3 partition you also won't need --modify-window (but it also won't do any harm).

The excludes speed things up, by not copying over files that can be regenerated, or are not needed. Especially global-messages-db.sqlite, which can get very big. Some information on what the files each do is here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.