Source: http://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
Mozilla Firefox stores all your personal settings, such as bookmarks, passwords and extensions, in a profile folder on your computer, in a location separate from the Firefox program. This article explains how to back up your profile, restore it, or move your profile to a new location or computer.
Locate your profile folder
The default location of the Firefox profile folder is %APPDATA%\Mozilla\Firefox\Profiles\xxxxxxxx.default\.
- %APPDATA% is shorthand for the C:\Users\
\AppData\Roaming\ folder (Windows 7/Vista) or the C:\Documents and Settings\\Application Data\ folder (Windows XP/2000), which depends on your Windows user account name.
- xxxxxxxx represents a random string of 8 characters.
Windows 7 and Vista
- Click the Windows %APPDATA%\Mozilla\Firefox\Profiles\ in the search box at bottom of the Start menu, without pressing Enter. button, and type
- A list of profiles will appear at the top of the Start menu. You can click on any of the profiles (e.g. xxxxxxxx.default) to open it with Windows Explorer.
Windows 2000 and XP
- Click the Windows
button, and select . - Type in %APPDATA%\Mozilla\Firefox\Profiles\ then click .
Backing up your profile
To back up your profile, first close Firefox if it is open and then copy the profile folder to another location.- At the top of the Firefox window, click on the button ( menu in Windows XP) and then click .
- Locate your profile folder, as explained above.
- Go to one level above your profile's folder, i.e. to %APPDATA%\Mozilla\Firefox\Profiles\
- Right-click on your profile folder (e.g. xxxxxxxx.default), and select .
- Right-click the backup location (e.g. a USB-stick or a blank CD-RW disc), and select .
Restoring a profile backup
- At the top of the Firefox window, click on the button ( menu in Windows XP) and then click .
- If your existing profile folder and profile backup folder have
the same name, simply replace the existing profile folder with the
profile backup, then start Firefox. Important: The profile folder names must match exactly for this to work, including the random string of 8 characters. If the names do not match or if you are restoring a backup to a different location, follow the steps below.
Restoring to a different location
If the profile folder names do not match or if you want to move or restore a profile to a different location, do the following:- Completely close Firefox, as explained above.
- Use the Firefox Profile Manager to create a new profile in your desired location, then exit the Profile Manager. Note: If you just installed Firefox on a new computer, you can use the default profile that is automatically created when you first run Firefox, instead of creating a new profile.
- Locate the backed up profile folder on your hard drive or backup medium (e.g., your USB-stick).
- Open the profile folder backup (e.g., the xxxxxxxx.default backup).
- Copy the entire contents of the profile folder backup, such as the mimeTypes.rdf file, prefs.js file, bookmarkbackups folder, etc.
- Locate and open the new profile folder as explained above and then close Firefox (if open).
- Paste the contents of the backed up profile folder into the new profile folder, overwriting existing files of the same name.
- Start Firefox.