How to backup your thunderbird profile&data on Ubuntu.

Backup
1.  Please check your Thunderbird profile directory by this command.

$ ls -la * | grep .mozilla-thunderbird
-rw-r–r–  1 sketkeaw sketkeaw 32053404 2008-05-30 10:59 mozilla-thunderbird.tgz

2. Start backup

$ cd ~
$ tar cvfz mozilla-thunderbird-[YYYYMMDD].tgz .mozilla-thunderbird

** YYYYMMDD such as 20080525 (2008 May, 28th)

3. Backup completed !!!.


Restore
1. Install Thunderbird mail client .

2. Extract your backup data.

$ cd ~
$ tar xvfz mozilla-thunderbird-[YYYYMMDD].tgz

3. Restoration complete !!!.