Q. How do I move my Thunderbird email client settings from Debian Linux desktop to a new Ubuntu Linux laptop? I've installed Thunderbird on Ubuntu Linux but not able to find any import or export option. How do I move settings?
A. Make sure Mozilla Thunderbird is not running. You need find out your profile directory / folder. Open terminal and change directory to ~.thunderbird:
$ cd ~.thunderbird
Type ls command to see the profile directory:
$ ls
Sample output:
appreg iz80591g.default profiles.ini
The path is usually ~/.thunderbird/xxxxxxxx.default/ (xxx is random character; in above example it is iz80591g.default directory). You can copy iz80591g.default using network (scp command) or USB pen. Insert USB pen and copy iz80591g.default to pen drive:
$ cp -avr iz80591g.default /media/disk/
You can also use GUI tools. Open file manager by clicking on Places > Home Folder > Hit CTRL+H to display hidden file. Go to .thunderbird > highlight all files and folders in it. Copy the files to the desired backup location.
A note about Windows XP / Vista profile location
The path is usually %AppData%\Thunderbird\Profiles\xxxxxxxx.default\ . Open command prompt and type command to find out your path:
cd %AppData%\Thunderbird\Profiles\
dir
Windows GUI method
Alternatively, click on Start > Run > Type the command:
%appdata%
Press [Enter] key > Open the Thunderbird folder.
A note about Mac OS X
The path is usually ~/Library/Thunderbird/Profiles/xxxxxxxx.default/. Open a terminal and type the command to find out your path:
cd ~/Library/Thunderbird/Profiles
ls
OS X GUI method
Open your home folder > Select Library folder > select the Thunderbird folder.
How do I restore the profile?
To restore the profile on laptop, open a terminal and type the following command (make sure Thunderbird is not running):
$ thunderbird -profilemanager

Click on Create profile > Click Next > Type "Restore" under new profile name > (note down the folder location) Finish:

Finally Click on Exit.
Copy the files from USB pen
Open a terminal and type the command:
$ cd ~/.thunderbird/
Run ls command to see the folder noted when you created your restoration profile. Run cd command on the folder:
$ cd xxxxxxxx.restore
$ cp -avr /media/disk/iz80591g.default/* .
Alternatively, you can highlight and copy all files using Places > Home Folder method.
Start the thunderbird and you should see all your old emails including settings.
Further readings
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop













{ 1 comment… read it below or add one }
This is a useful one to many.
By this way we can also share the profiles among a Linux and Windows dual-boot OSs. Just need to keep the profile in a shared location, and add that to both instances. I have my Firefox and Thunderbird profile copied this was across many places when I moved from college to office to my personal laptop.