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

How do I restore a previous session from an Old Firefox Data folder?

  • 2 cavab
  • 15 have this problem
  • 12 views
  • Last reply by DerekSands

more options

There was a power blackout today while I was booting up Firefox and the computer shut down instantly. Later, when I tried to open Firefox again, it started glitching out, with the Restore Session option only resulting in empty tabs. I refreshed Firefox and now I have a 'Old Firefox Data' folder.

I have a sessionrestore-backups folder in that folder, with a 'previous.js' file. How do I use this file (or any of the others in the folder) to gain access to my lost session? Is it possible at all?

Thanks for any and all help.

There was a power blackout today while I was booting up Firefox and the computer shut down instantly. Later, when I tried to open Firefox again, it started glitching out, with the Restore Session option only resulting in empty tabs. I refreshed Firefox and now I have a 'Old Firefox Data' folder. I have a sessionrestore-backups folder in that folder, with a 'previous.js' file. How do I use this file (or any of the others in the folder) to gain access to my lost session? Is it possible at all? Thanks for any and all help.

Chosen solution

You can find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js).

Read this answer in context 👍 2

All Replies (2)

more options

Seçilmiş Həll

You can find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js).

more options

Thank you. I managed to do so and now I can access my old Restore Session option.

But the glitch remains; as in, the Restore Session Error window shows all my active tabs, but if I click restore, it opens a new window with all empty tabs.

If it helps clarify the issue, I get at least two Unresponsive Script errors when Firefox tries to load these tabs. One relates to the tabbrowser and the other to content. These did not appear before the blackout.

Is there any way to resolve this issue?

Edit: I opened the previous.js file I was using to restore my session in Word and all the URLs are definitely there. So I am not sure why Firefox is only opening empty tabs.

Modified by DerekSands