Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hard disk crashed, no back-up but saved all files. What do I need to restore new Firefox to original state?

  • 1 cavab
  • 1 has this problem
  • 4 views
  • Last reply by cor-el

more options

I had a fatal hard disk crash on my laptop the other day. Good news is, it was only the boot sector--all my files and data were intact so have downloaded to another hard disk for safe-keeping while I load the OS onto the the fresh HDD.

Once I've loaded the new version of Firefox, what files do I need to find from the old data to restore Firefox to it's pre-crash state? Is this information (bookmarks, settings, etc.) recoverable at all? Am I hosed and need to start from scratch? No back-ups, unfortunately. But all system files and program files are there. Just don't know what is what and how to migrate (or if it's even possible).

Thanks, in advance.

I had a fatal hard disk crash on my laptop the other day. Good news is, it was only the boot sector--all my files and data were intact so have downloaded to another hard disk for safe-keeping while I load the OS onto the the fresh HDD. Once I've loaded the new version of Firefox, what files do I need to find from the old data to restore Firefox to it's pre-crash state? Is this information (bookmarks, settings, etc.) recoverable at all? Am I hosed and need to start from scratch? No back-ups, unfortunately. But all system files and program files are there. Just don't know what is what and how to migrate (or if it's even possible). Thanks, in advance.

All Replies (1)

more options

Firefox uses two locations for the Firefox profile folder. Location used for the main profile in "AppData\Roaming".

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\

Location used for the disk cache and other temporary files in "AppData\Local".

  • C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>\

The files in the cache area aren't important and do not need to be restored.

"AppData" (XP: Application Data; Mac: ~/Library; Linux: ~/.mozilla) is a hidden folder.


You need to recover the files in the main Firefox profile folder in "AppData\Roaming" and copy the data you really need to the current profile folder.

You can copy files like these to the current Firefox profile folder to recover specific data.

  • bookmarks and history: places.sqlite
  • bookmark backups: JSON backups in the bookmarkbackups folder
  • SQLite files like cookies.sqlite (cookies) and formhistory.sqlite (saved form data)
  • logins.json and key3.db (decryption key) for Passwords saved in the Password Manager
  • cert8.db and possibly cert_override.txt for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words you added to the spelling checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other Site Preferences
  • sessionstore.js for open tabs and pinned tabs and tab groups