Skip to content

Fix Firefox Backup File Restore Failures on Computer

Firefox can refuse a backup file with an "unable to process the backup file" message, and a copied profile folder may come back empty if it was put in the wrong place.

Check that the archive opens cleanly first, then fall back to Firefox's automatic bookmark backups or rebuild the profile in the folder Firefox actually uses.

In this guide, I have covered:

Firefox will not restore your backup file

You saved a backup, clicked Restore…, and Firefox answered with something like “unable to process the backup file”. Or the restore ran to the end and nothing came back. Both failures are fixable. They just have different causes.

Firefox has two different things people call a backup. The first is a data backup file, a .zip archive you create from the bookmarks menu and restore again from that same menu. The second is a copy of your whole profile folder, which holds bookmarks, history, saved passwords, and extensions.

A rejected archive usually means the file is incomplete, corrupted, or was produced by a different feature than the one you are restoring into. A profile folder that seems to restore nothing is a different problem: it went back to the wrong location.

Test the manual backup file first, because it is quick. If that file is unusable, fall back to Firefox’s automatic backups and then to a profile restore. The original community report lives in this Mozilla Support question about restoring a profile from a backup.

Find the bookmark backup files Firefox keeps on disk

Your own .zip may be long gone, but Firefox has been saving bookmark backups inside your profile folder. Those files stay put even when the manual restore refuses to run.

  1. Type about:support in the address bar and press Enter.
  2. Under Application Basics, find the row labeled Profile Folder on Windows or Profile Directory on macOS and Linux.
  3. Click Open Folder on Windows, or Open Directory on macOS and Linux.
  4. Open the bookmarkbackups folder inside the profile.
  5. Sort files by date modified. Look for bookmarks-backups entries whose filenames include a date and time.
  6. Copy the snapshot you want to a safe location like your Desktop.

Once you know where the files live, check them before you trust them. A file of zero bytes, or one that will not open in a normal archive tool, cannot be restored no matter which menu you use.

You’ll know it worked when that folder shows several dated backup files and at least one of them opens without complaint. From there, the next step is the restore itself.

Check the backup file before restoring it

A failed restore usually starts with the file, not with Firefox. Verify the archive first and you avoid feeding the same broken copy in twice.

  1. Open the folder that holds your backup files and check the size of the .zip file.
  2. Right-click the file and try opening it with your system archive tool.
  3. Replace the file with a different copy if the archive is damaged or empty.
  4. Create a fresh backup from the profile you still have working, so you have a known-good file to restore.

When the archive lists its contents instead of throwing an error, move on to the restore below. If it fails again, the problem is not the file.

Restore a backup file through the bookmarks menu

With an intact .zip in hand, the restore takes seconds. Know this before you click: it replaces the bookmarks you have right now.

  1. Press Ctrl+Shift+O on Windows and Linux, or Cmd+Shift+O on macOS, to open the Library window.
  2. Select Bookmarks in the sidebar of the Library window.
  3. Click Import and Backup at the bottom of the sidebar.
  4. Choose Restore… from the menu.
  5. Select your .zip backup file in the file picker and click Open.

Your bookmarks should reappear in the Library window and on the Bookmarks Toolbar straight away. If Firefox still reports that it cannot process the file, the archive is the problem, so move on to the automatic backups below.

Restore bookmarks from Firefox’s automatic backups

Your own backup file is rejected or missing, but Firefox has been keeping rotating bookmark backups the whole time. They are the next thing to try.

  1. With the Library open, click Import and Backup in the top toolbar.
  2. Hover over Restore to open the submenu.
  3. Pick the most recent dated backup that still contains your bookmarks. Entries are listed newest first.
  4. Confirm the replacement prompt. Firefox overwrites the current bookmarks file with the snapshot.

bulb tip icon

TIP: Firefox rotates these backups, so the oldest one drops off the list first. Copy the whole folder somewhere safe before you start, and the snapshot you need cannot vanish mid-repair.

You’ll know it worked when the Library window lists your bookmark folders under Bookmarks again. If some folders are still missing, keep going, because a bookmark restore does not always bring back everything that lived in a profile.

Restore a full profile from a folder copy

You copied your entire profile to an external drive, and now the folder sits on the new machine while Firefox ignores it. Nothing is wrong with the copy. It is in the wrong place.

Firefox looks for profiles in fixed locations, and the Profile Manager shows where each one lives. Confirm the target path before you copy anything.

  1. Quit Firefox completely by closing every window, and on Windows also exit it from the system tray.
  2. Open the Profile Manager by typing about:profiles into the address bar and pressing Enter.
  3. Locate the profile you backed up and read its Root Directory path.
  4. Open that folder in File Explorer or Finder.
  5. Open the backed-up profile folder and select all of its contents.
  6. Paste the contents into the profile folder with the matching name inside the root directory you noted earlier.
  7. Start Firefox again and sign in with the primary password you used before, if you had set one.

Check your bookmarks, history, and saved passwords. If the data is still missing, the copy probably landed in a folder Firefox is not using, and the guide to recovering Firefox data after an update or profile change covers the next moves.

alert icon

ALERT: Copying a profile over your current one overwrites the data you have now. Copy your live profile folder to a separate location first, so you still have a way back.

Move a backup created on another computer

A profile copied from Windows will not restore cleanly on macOS. Extension formats and path rules differ between operating systems, and Firefox does not translate them for you.

Import the bookmark file instead, then sign in to Firefox Sync for passwords and the rest. That split approach is what actually works across systems.

The fix for an incomplete Firefox profile import from Windows to Mac walks through the order to do it in.

Recover tabs that did not come back

Bookmarks are back, but the tabs you had open are not. Session data lives in its own files, and a partial restore often leaves it behind.

  1. Type about:support in the address bar and press Enter.
  2. Under Application Basics, find the Profile Folder row and click Open Folder (or Open Directory on macOS).
  3. Open the sessionstore-backups subfolder inside the profile.
  4. Look for files named recovery.jsonlz4, recovery.baklz4, previous.jsonlz4, and the dated upgrade.jsonlz4-yyyymmddhhmmss backups.
  5. Close Firefox completely before touching any of these files.
  6. Copy the backup you want to recover to the parent profile folder and rename it to sessionstore.jsonlz4, overwriting the broken file.
  7. Restart Firefox. The backup loads as the current session.

You’ll know it worked when your previous windows show up again under History. After that, check History for pages worth saving and glance at your bookmarks for duplicate folders the restore may have created.

What to do when the restore still fails

Nothing has worked so far, which means the cause is narrower than one bad file. Work through these in order, because each step isolates a different cause.

  • Restore a second, older backup file to rule out one damaged archive.
  • Confirm you are restoring into the same feature that created the file. A data backup file is not the same thing as a profile copy.
  • Check that Firefox is up to date, since a stale installation can misread newer backup formats.
  • Restore into a clean profile in the Profile Manager so a damaged current profile is not blocking the restore.

If bookmarks come back but do not open when you click them, that is a separate problem. The related guide below covers it.

Frequently Asked Questions

Why does Firefox say it is unable to process the backup file?

The archive is usually damaged, incomplete, or was created by a different feature than the one you are restoring into. Check the file size, try opening it with an archive tool, and retry with another copy.

Where does Firefox store its bookmark backup files?

They live in a bookmarks backup folder inside your Firefox profile directory. The Profile Manager at about:profiles shows you the profile location on your computer.

Do I need a backup file if I use Firefox Sync?

Sync handles bookmarks, passwords, and tabs across devices on its own. A backup file is still worth keeping because it works even when your account cannot sign in.

Why are my saved passwords missing after a profile restore?

Your saved passwords live in the profile you copied, so they return only if the restored folder was the one Firefox is actually using. If a primary password was set, you also need the same primary password to decrypt them.

Can I restore a profile backup made on Windows onto a Mac?

Not as a full profile, because extensions and path rules differ between operating systems. Import the bookmarks file and use Firefox Sync for passwords and other data instead.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Jack Mitchell

Jack Mitchell

Jack Mitchell is a software engineering graduate. He moved to Firefox for container tabs and privacy controls, so most Chrome extensions are gone. He surfs when the swell is good and keeps chillies alive on the balcony.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.
Your email address will not be published, and we will never spam your inbox. Required fields are marked *