Back up and restore information in 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.
- Just Bookmarks? For backing up, restoring, or moving your bookmarks (not other data), see Restore bookmarks from backup or move them to another computer.
Table of Contents
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\<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 default location of the Firefox profile folder is ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/.
The default location of the Firefox profile folder is ~/.mozilla/firefox/xxxxxxxx.default/.
- xxxxxxxx represents a random string of 8 characters.
You can locate your profile folder using these instructions:
- 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.
- Click the Windows
button, and select .
- Type in %APPDATA%\Mozilla\Firefox\Profiles\ then click .
Windows Explorer will open the Profiles folder, which contains a folder for each profile.
- Open the Charms and select .
- Search for Run in Apps.
- Select Run in the search results and you will be taken to the Desktop with the Run app open.
- In the Run app, type %APPDATA%\Mozilla\Firefox\Profiles\ and then press Enter. Windows Explorer will open the Profiles folder, which contains a folder for each profile.
- Click the Finder icon in the dock.
- On the menu bar, click the menu and select .
- In the Go to Folder window, paste in this text: ~/Library/Application Support/Firefox/Profiles and then click .
- A window will open containing profile folders.
- Double-click the folder with “default” in the name to open it.
- (Ubuntu) Click the menu on the top right of the screen and select . A File Browser window will appear.
- Click the menu and select if it isn't already checked.
- Double click the folder marked .mozilla.
- Double click the folder marked firefox. Your profile folders are within this folder.
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 and then select At the top of the Firefox window, click on the menu and then select On the menu bar, click on the menu and select At the top of the Firefox window, click on the menu and select
- Locate your profile folder, as explained above.
- Go to one level above your profile's folder, i.e. to %APPDATA%\Mozilla\Firefox\Profiles\~/Library/Application Support/Firefox/Profiles/~/.mozilla/firefox/
- Right-clickHold down the Ctrl key while you click on your profile folder (e.g. xxxxxxxx.default), and select .
- Right-clickHold down the Ctrl key while you click the backup location (e.g. a USB-stick or a blank CD-RW disc), and select .
Restoring a profile backup
- 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.
Share this article: http://mzl.la/LHJo6V