{"id":502,"date":"2006-04-01T19:41:35","date_gmt":"2006-04-02T00:41:35","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/hoanga\/2006\/04\/01\/migrating-a-thunderbird-profile-from-w"},"modified":"2006-04-01T19:41:35","modified_gmt":"2006-04-02T00:41:35","slug":"migrating-a-thunderbird-profile-from-windows-xp-to-linux","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/hoanga\/2006\/04\/01\/migrating-a-thunderbird-profile-from-windows-xp-to-linux\/","title":{"rendered":"Migrating a Thunderbird Profile from Windows XP to Linux"},"content":{"rendered":"<p><a name='a614'><\/a><\/p>\n<p>\n I decided to move my emailing activities from XP to Linux for *mumble mumble*<br \/>\n reasons.  I thought it would be a rather simple operation of dump the data<br \/>\n files in the right place and be done with it but there are some small<br \/>\n things to keep in mind when doing the move.  Here&#8217;s my diary entry on how<br \/>\n I got it to work properly.  I&#8217;m not going to cover how you view your<br \/>\n Windows data.  I imagine you have a Windows partition, a backup, or zipped<br \/>\n up the relevant data and now can easily access it somehow.  If so, you can<br \/>\n adapt the directory paths for your situation.\n <\/p>\n<ol>\n<li>Thunderbird on XP stores the relevant data usually around <b>C:\\Documents And Settings\\[Username]\\Application Data\\Thunderbird\\<\/b><br \/>I&#8217;ll call that<br \/>\n <b>$XP_TBIRD_HOME<\/b> for the rest of this article.  So first find<br \/>\n that directory.<\/li>\n<li>Linux stores the profile data in <b>$HOME\/.thunderbird<\/b><br \/>\n <br \/>For the rest of this article I&#8217;ll call it <b>$LINUX_TBIRD_HOME<\/b>.<br \/>\n Look for this directory as well or if not go to next step.<\/li>\n<li>If it doesn&#8217;t exist create <b>$LINUX_TBIRD_HOME<\/b><br \/>\n <em>mkdir <b>$LINUX_TBIRD_HOME<\/b><\/em><\/li>\n<li>Copy the profile directory from <b><br \/>\n $XP_TBIRD_HOME\/Profiles\/[blah blah].default<\/b> into <b>$LINUX_TBIRD_HOME<\/b><br \/>\n <br \/>\n <em>cp -Rp <b>$XP_TBIRD_HOME\/Profiles\/[something]<\/b> <b>$LINUX_TBIRD_HOME<\/b><br \/>\n <\/em>\n <\/li>\n<li>Copy the profiles.ini and registry.dat from <b>$XP_TBIRD_HOME<\/b> into<br \/>\n <b>$LINUX_TBIRD_HOME<\/b><br \/>\n <em><br \/>\n cp <b>$XP_TBIRD_HOME\/profiles.ini<\/b> <b>$LINUX_TBIRD_HOME<\/b><br \/>\n cp <b>$XP_TBIRD_HOME\/profiles.ini<\/b> <b>$LINUX_TBIRD_HOME<\/b><br \/>\n <\/em>\n <\/li>\n<li>Fix permissions and owners if you copied straight from a NTFS or<br \/>\n FAT32 partition as root using chown and chmod stuff.  I&#8217;m not sure<br \/>\n my chmod-fu is 100% correct but I&#8217;d rather keep my mail stuff read only<br \/>\n to me not the world.<br \/>\n <em><br \/>\n chown -R me:me <b>$LINUX_TBIRD_HOME<\/b><br \/>\n chmod -R 700 <b>$LINUX_TBIRD_HOME<\/b><br \/>\n <\/em>\n <\/li>\n<li>Edit <b>$LINUX_TBIRD_HOME\/profiles.ini<\/b> and change the <b>Path<\/b><br \/>\n variable from <b>Path=Profiles\/[blah]<\/b> to <b>Path=[blah]<\/b>.\n <\/li>\n<li>Fire up Thunderbird on Linux.  If it doesn&#8217;t bug you to create a<br \/>\n profile and all that garbage you&#8217;re done!  If not, then maybe you missed<br \/>\n something in the steps above.  You can always blow away<br \/>\n <b>$LINUX_TBIRD_HOME<\/b> and start from step 1 again until it works<br \/>\n correctly.<\/li>\n<\/ol>\n<p>\n Just the commands version:<br \/>\n <em>mkdir $LINUX_TBIRD_HOME<br \/>\n cp -Rp $XP_TBIRD_HOME\/Profiles\/[something] $LINUX_TBIRD_HOME<br \/>\n cp $XP_TBIRD_HOME\/profiles.ini $LINUX_TBIRD_HOME<br \/>\n cp $XP_TBIRD_HOME\/profiles.ini $LINUX_TBIRD_HOME<br \/>\n chown -R me:me $LINUX_TBIRD_HOME<br \/>\n chmod -R 700 $LINUX_TBIRD_HOME<br \/>\n vi $LINUX_TBIRD_HOME\/profiles.ini<br \/>\n thunderbird &amp;<br \/>\n <\/em>\n <\/p>\n<p>\n There&#8217;s a chance these instructions don&#8217;t cover all situations<br \/>\n But after goofing it up a few times and stumbling on this.  I&#8217;m pretty sure<br \/>\n this way will guarantee you get your Thunderbird settings just right.<br \/>\n That should migrate everything over including all your settings including<br \/>\n which servers to connect to, spam settings, and even extensions you might<br \/>\n have installed.\n <\/p>\n<p>\n I&#8217;ve not tried moving all this data to a different<br \/>\n machine architecture so I&#8217;m not sure if the binary data will hold but<br \/>\n I&#8217;m going to guess &#8216;yes&#8217;.   I imagine if you reverse the process a little<br \/>\n bit it should be rather trivial to migrate from a Linux Thunderbird to<br \/>\n a Windows Thunderbird.  I imagine with some permutations it should be<br \/>\n simple to adapt this to get your Thunderbird moved to OS X.\n <\/p>\n<p>\n Links:<br \/>\n <a href=\"http:\/\/my.opera.com\/Camus\/blog\/show.dml\/161562\">Sharing Thunderbird<br \/>\n between Linux and Windows<\/a> (Might be useful for dual-booters but I wanted<br \/>\n a full migration not sharing).\n <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I decided to move my emailing activities from XP to Linux for *mumble mumble* reasons. I thought it would be a rather simple operation of dump the data files in the right place and be done with it but there are some small things to keep in mind when doing the move. Here&#8217;s my diary [&hellip;]<\/p>\n","protected":false},"author":704,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1212],"tags":[],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-tagme"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/users\/704"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}