BitTorrent Sync and Thunderbird Email Backups

A few weekends ago, I realized that I didn’t have a backup of my Thunderbird email (over 5 gigs) anywhere except on one machine. This is a big deal because I have LOTS of email from multiple personal accounts (such as for my elderly mother, which I monitor on her behalf), as well as work accounts that I like to keep an encrypted backup of.

The biggest challenge I faced included backing up the .Thunderbird folder. Although I’d tried saving my Thunderbird profile to an external USB flash drive (and eventually a hard drive), I just couldn’t get it to work. When I’d made backups of the .thunderbird folder on my Linux installations (Peppermint Four and Linux Mint 15 are working great!), I was always unable to restore them. There would be some configuration or something goofy (prob me) that couldn’t get it working again. Worse, I’d corrupt my Thunderbird profile, which meant loss of email and I’d have to restore from backup.

Since I am running GNU/Linux on all 3 computers–although I obviously started with just two for testing purposes–it wasn’t difficult to load BitTorrentSync on all 3 machines and let BitTorrent Sync work it’s magic.

What .thunderbird directory looks like

This solution works best if you have machines that have similar operating systems. For example, you’d want to sync two linux machines, two Mac machines, or two Windows machines. If you sync’d from Mac to a Linux, while you’d get the data loaded or moved over, you’d have to adjust your profile settings to match:

Windows:%APPDATA%\Thunderbird\Profiles\xxxxxxxx.default\.

  • %APPDATA% is shorthand for the C:\Users\\AppData\Roaming\ folder (Windows 7/Vista) or theC:\Documents and Settings\\Application Data\ folder (Windows XP/2000), which depends on your Windows user account name.

Mac OS X:~/Library/Thunderbird/Profiles/xxxxxxxx.default/.

  • The tilde character (~) refers to the current user’s Home folder, so ~/Library is the /Macintosh HD/Users//Library folder.

Linux:~/.thunderbird/xxxxxxxx.default/.

To accomplish the magic with your own setup, I encourage you to follow these steps:

1) Install BitTorrent Sync on computers with the same operating system. You can follow the instructions on the BitTorrent Sync web site.

2) Pick the computer that you use the most, that you have Mozilla Thunderbird on, and then…

3) Start BitTorrent Sync and add the Thunderbird Profile folder for your operating system.

4) Get the “secret” for that folder and use it when adding new folders on your other computers you want to sync with.

5) Step back and watch it in action! You can monitor progress on any of the computers with BitTorrent Sync installed by opening a web browser and going to http://localhost:8888

For Fun

  1. While I haven’t tried it, if you are an avid Mail app user on Macintosh, you might be able to do the same thing between two Macs. 
  2. Make a home directory share where all networked computers in your home or office save to a common drive via BTSync. That way, all your individual computers’ data would be saved to a machine that is backing up that data for you to removable storage.

Thanks to BitTorrent Sync, and to Mozilla Thunderbird for two free open source alternatives to keeping email OUT of the cloud.

Be sure to read this article on Sync Hacks when it appears!


Check out Miguel’s Workshop Materials online at http://mglearns.wikispaces.com


Everything posted on Miguel Guhlin’s blogs/wikis are his personal opinion and do not necessarily represent the views of his employer(s) or its clients. Read Full Disclosure

var _gaq = _gaq || []; _gaq.push([‘_setAccount’, ‘UA-3445626-5’]); _gaq.push([‘_setDomainName’, ‘mguhlin.org’]); _gaq.push([‘_trackPageview’]); (function() { var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true; ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’; var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s); })();

3 thoughts on “BitTorrent Sync and Thunderbird Email Backups

  1. George October 11, 2013 at 5:30 am Reply

    Is Thunderbird still supported?

  2. Miguel Guhlin October 11, 2013 at 2:04 pm Reply

    Yes, George, Thunderbird is still supported. You can read about it here – https://support.mozillamessaging.com/en-US/kb/thunderbird-faq#w_what-is-thunderbird

    With appreciation,
    Miguel Guhlin

  3. Jo Davis October 14, 2013 at 12:59 am Reply

    Wow this was super helpful. And I could definitely see how having that backup on only one machine could be nerve racking.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: