Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Ubuntu, and I need to reinstall it. I have tons of sites for which Firefox manages my access credentials. How do I back it up and reattach it to the Firefox installation I'll have after I finished with the formatting and re-installing of Ubuntu?

share|improve this question
up vote 2 down vote accepted

All profile data for firefox is kept in the profile folder in your home directory. That is the folder you need to back up.

share|improve this answer
How is the home directory found? – Peter Mortensen Mar 3 '14 at 19:27

Although always good to back up, Firefox has the option to retain your settings in case you wanted to reinstall it. So simply uninstalling then reinstalling Firefox should be sufficient. However, like MaQleod said, it would be good to backup that folder (probably .mozilla or .firefox in your home directory) first.

share|improve this answer

The FEBE extension (Firefox Environment Backup Extension) is great for this. Very simple, can be set to a schedule, and can selectively back up extensions, bookmarks, history, cookies, passwords, ... for transfer to another installation.

share|improve this answer

I have Fedora, but I think it is similar. You should backup the whole directory ~/.mozilla/firefox. There is profiles.ini which contains the name of your profile and profile folder. In my installation, it looks like mvwmwhhl.default.

When you reinstall, Firefox creates a new profile with another profile name and profiles.ini. You need only replace profiles.ini with the older from your backup and restore your older profile folder.

share|improve this answer

Firefox Sync should do the trick - it works on most common Mozilla versions, and backs up and restores everything fairly simply and automatically to/from a server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.