Skip to content
HJ edited this page Sep 8, 2023 · 14 revisions

Make a backup profile

The easiest, and most complete, way to backup is to copy your entire profile directory when Firefox is closed.

Instructions

Open the profile folder

  1. To find your profile directory in Firefox, go to about:support.
  2. Find the 11th item listed, Profile Folder, and select Open Folder button.

Copy+paste contents

  1. Close Firefox. Copy the contents of the folder.
  2. In Explorer (Windows) or Finder (macOS), go back a page to see all the Firefox profiles.
  3. Create a new folder, and paste the contents into it.

Name your profile

  1. Rename your copied folder to something meaningful, and keep the original name (for an easy rollback).
    • For example, if the profile folder is called ljgba71b.default, a backup copy might be called ljgba71b.default-backup or ljgba71b.default-pre-betterfox-userjs.
  2. Open the new profile folder and paste the contents into it.
  3. Close the window. You now have a backup profile! 😄

Be aware that this is your entire profile. So switching back to your old profile will not keep any new cookies, saved passwords, bookmarks, extension changes, etc.

⚠️ Do not back up prefs.js by itself, as it is a runtime file that does not fully cover everything a user.js alters.

🛑 Always make a backup!

Clone this wiki locally