Recovering important data from an old profile

Revision Information
  • Revision id: 103171
  • Created:
  • Creator: user1246922
  • Comment: Made important notes bold; changed wording
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: heyjoni
  • Is approved? No
  • Is current revision? No
  • Ready for localization: No
Revision Source
Revision Content

A Firefox profile stores all of your important data, such as your bookmarks, history, cookies, and passwords. This article explains how to copy the files to a new profile, lists important files in the profile and describes what information is stored in these files.

If you are having a problem with Firefox, rather than trying to find and fix the exact cause of the problem, it is easier just to make a new Firefox profile and copy your most important data over to it. Making a new Firefox profile and then copying over certain files gives you a fresh start while retaining your important personal data.

If you are having a problem with Firefox then sometimes, rather than trying to find and fix the exact cause of the problem, it is easier just to make a new Firefox profile and copy your most important data over to it. The Reset Firefox feature will do this for you automatically.The Refresh Firefox feature will do this for you automatically.

Note: Because your preferences and extensions are often the causes of problems, this article does not explain how to copy these between profiles. Therefore, if you follow the steps in this article, you will have to reinstall your extensions and reconfigure your Firefox preferences afterward.

Back up your current profile

Before starting it is recommended that you make a complete backup of your existing Firefox profile in case something goes wrong. Please read the Back up and restore information in Firefox profiles article for instructions on how to do this.

Create a new Firefox profile

For information on how to create a brand new Firefox profile, please read the Profile Manager - Create, remove or switch Firefox profiles article, paying specific attention to the Creating a profile section.

Copying files between profile folders

Note: Firefox must be closed down while copying files between profile folders.
  1. Open your profile folder:

    • Click the menu button Fx89menuButton, click Help and select More Troubleshooting Information.From the Help menu, select More Troubleshooting Information. The Troubleshooting Information tab will open.
    • Under the Application Basics section next to Profile FolderDirectory, click Open FolderShow in FinderOpen Directory. A window will open that contains your profile folder.Your profile folder will open.
    Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.

  2. Click the Firefox menu Fx89menuButton and select Exit.Click the Firefox menu at the top of the screen and select Quit Firefox.Click the Firefox menu Fx89menuButton and select Quit.
  3. Right-clickHold down the control key while you click on a file you want to copy and choose Copy.
  4. Open the new Firefox profile folder.
  5. Right-clickHold down the control key while you click inside the profile folder and choose Paste Item.

Repeat steps 4-6 for each file you wish to transfer over to your new profile folder.

While copying your personal data from an old Firefox profile to a new Firefox profile, it is possible to copy over the file that is causing the problem you are trying to get rid of! The more files you copy over, the greater the chance of this happening. It is therefore recommended that:

  • You copy over only the minimal amount of files that contain your most important data that you simply can't live without.
  • You copy over a few files at a time, and then check that the problem you are trying to get rid of hasn't returned.

Your important data and their files

Bookmarks and Browsing History

  • places.sqlite

This file contains all your Firefox bookmarks and the list of websites you have previously visited. For more information see Bookmarks in Firefox.

Bookmarks, Downloads and Browsing History

  • places.sqlite

This file contains all your Firefox bookmarks and lists of files you have downloaded and of websites you have previously visited. For more information see Bookmarks in Firefox.

== Passwords Your passwords are stored in two different files, both of which are required:

  • key3.db - This file stores the key database of your passwords. To transfer saved passwords, you must copy this file along with the following file.
  • signons.sqlitelogins.json - Saved passwords.

For more information see Password manager - Remember, delete and change saved passwords in Firefox.

Site-specific preferences

  • permissions.sqlite

This file stores many of your Firefox permissions that are decided on a per-site basis. For example, it stores which sites are allowed to, or blocked from setting cookies, installing extensions, showing images, displaying popups, etc.

Search engines

  • search.sqlite
  • \searchplugins\ folder

If you have installed any extra search engines then they will be in the \searchplugins\ folder. The search.sqlite file stores the order that your search engines appear in Firefox. For more information see Search bar - add, change and manage search engines on Firefox.

  • search.json

This file stores the search engine data. For more information see Search bar - add, change and manage search engines on Firefox.

Personal dictionary

  • persdict.dat

This file stores any custom words you have added to Firefox's dictionary. If you have never added a custom word to the Firefox dictionary, then you will not have this file. For more information see How do I use the Firefox spell checker?.

Autocomplete history

  • formhistory.sqlite

This file remembers what you have searched for in the Firefox search bar and what information you have entered into forms on websites. For more information see Control whether Firefox automatically fills in forms.

Cookies

  • cookies.sqlite

Cookies are used by websites for a variety of reasons, some of which include keeping you logged in to a website you have previously logged in to, remembering any preferences a website has allowed you to set, authenticating you as a person who has visited a specific website before, etc.

Security certificate settings

  • cert8.db

This file stores all your security certificate settings and any SSL certificates you have imported into Firefox.

File types and download actions

  • mimeTypes.rdf

This file stores your preferences with respect to what Firefox does when it comes across known file types, such as whether you want to save a file or open it with a specific application. For more information see Manage file types and download actions in Firefox.

Download history

  • downloads.sqlite

This file stores information about the files you've downloaded. For more information, see Where to find and manage downloaded files in Firefox.



Based on information from Transferring data to a new profile - Firefox (mozillaZine KB)