This post will explain, how to move Mozilla Thunderbird’s default mail storage (Profile) to a new location (i.e. to another drive or to some other folder)
Know something about Thunderbird Profiles :
Thunderbird saves personal information such as messages, passwords and user preferences in a set of files called a "profile", which is stored in a separate location from the Thunderbird program files. While it is possible to have multiple profiles, most users just use the single default. (See Using Multiple Profiles for more information.)
What is a profile?
In Thunderbird, the profile stores two main sets of items. First, it stores your local mail, and possibly copies of messages that reside on the mail server (depending on your account configuration). Second, it stores any changes you make while using Thunderbird (for example, changes to account settings and changes to the toolbar).
When you install Thunderbird it creates a profile called "default". This profile will be used automatically unless you invoke the Profile Manager and create a new profile.
Where is my profile stored?
Profile files are stored separately from the Thunderbird program files. The program files are static and do not change (except when you upgrade the Thunderbird application version). Because we store profile and program files separately, you can uninstall Thunderbird without losing your messages and settings, and if something goes wrong with a Thunderbird update your information will still be available. It also means that you don't have to reinstall Thunderbird in order to delete your information or troubleshoot a problem.
Each profile is stored on your hard drive in a profile folder. The folder is named using the following convention:
...where "<random_string>" is eight digits randomly generated by Thunderbird and "<profile_name>" is the name you assigned to the profile. The location of the folder will vary according to the operating system (and whether or not you specified a non-default location when you created the profile):
- %APPDATA% is shorthand for the C:\Users\<username>\AppData\Roaming\ folder (Windows 7/Vista) or the C:\Documents and Settings\<username>\Application Data\ folder (Windows XP/2000), which depends on your Windows user account name.
- The tilde ("~") symbol in the path is shorthand for your home directory.
How to find your profile
If you are having difficulty finding the location of your profile, use the following instructions to search your filesystem:
Windows Vista and 7
- Click the Windows Start button and type %APPDATA%\Thunderbird\Profiles\ in the Search box at the bottom of the Start menu, without pressing Enter. A list of profiles will appear at the top of the Start menu.
- Click on any of the profiles (e.g. xxxxxxxx.default) to open it with Windows Explorer.
On Windows 2000 and XP
- Click the Windows Start button, and select Run....
- Type in %APPDATA%\Thunderbird\Profiles\ then click OK.
- Windows Explorer opens a folder containing your profiles.
- Double-click the profile folder you wish to open (e.g. the xxxxxxxx.default folder).
- Open Finder and go to your home folder (which is usually the name of your Mac user account).
- From your home folder open /Library/, then /Thunderbird/, then /Profiles/. Your profile folder is within this folder.
On Linux (Ubuntu)
- Click the Places menu on the top right of the screen and select Home Folder. A File Browser window will appear.
- Click the View menu and select Show Hidden Files if it isn't already checked.
- Double click the folder marked .thunderbird. Your profile folder is within this folder.
Backing up a profile
To back up your profile, simply shut down Thunderbird and then copy the profile folder to a backup location (such as an external disk or drive).
Moving a profile
Occasionally, you might want to move a profile or tell Thunderbird to use a profile stored in another location.
- Shut down Thunderbird.
- Move the profile folder to the desired location (Simply, cut the folder xxxxxxxx.default and paste it to the desired new location. don’t forget to note the new location path). For example, on Windows XP, move the profile from C:\Documents and Settings\[username]\Application Data\Thunderbird\Profiles\xxxxxxxx.default to D:\Stuff\MyMailProfile. (If you are reverting to a backed up profile, this step isn't necessary. Just note the current location of the profile you want to restore.)
- Open up the profiles.ini file in a text editor. The file is located in the application data folder for Thunderbird:
- On Windows 7/Vista/XP/2000, the path is %AppData%\Thunderbird\
- On Windows 95/98/Me, the path is usually C:\WINDOWS\Application Data\Thunderbird\
- On Linux, the path is ~/.thunderbird/
- On Mac OS X, the path is ~/Library/Thunderbird/
- In the profiles.ini file, locate the entry for the profile you've just moved. Change the Path= line to the new location.
- If you switch from a relative path to a non-relative path, the direction of the slashes may need to change. For example, in Windows, non-relative paths use backslashes, whereas relative ones use forward slashes. Change IsRelative=1 to IsRelative=0. If you are using Microsoft Windows based system, simply change the IsRelative=1 to IsRelative=0.
- Save profiles.ini and restart Thunderbird.