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

How do I open Firefox from a historic session back up file?

more options

My tabs have been lost and I have a previous historic set before they went. Problem is how to get them to open FF?

When I use the profile folder (with FF closed) to remove the last and useless previous session and back up files, and replace them with the historic session files, when I reopen FF it still reverts to the session with no tabs. What can I do? Thank you.

My tabs have been lost and I have a previous historic set before they went. Problem is how to get them to open FF? When I use the profile folder (with FF closed) to remove the last and useless previous session and back up files, and replace them with the historic session files, when I reopen FF it still reverts to the session with no tabs. What can I do? Thank you.

Chosen solution

I have solved it.

The last few times I tried this to find the sessionstore.jsonlz4 file, I rhad eached the profile by going through the Troubleshooting console and clicking the link to profile and and then closing FF.

For some reason the sessionstore.jsonlz4 did not show up. Even after refreshing the folder. However this last time when I then manually went to the library to session back ups folder it was there.

Have replaced the old sessionstore.jsonlz4 file with renamed previous session file and and all is back to normal.

Thanks.

Read this answer in context 👍 0

All Replies (5)

more options

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.jsonlz4 to replace the current file with Firefox closed.

  • make sure to backup the current sessionstore.jsonlz4

You can look at this tool to inspect a compressed sessionstore file.

more options

Thanks yes I am aware of that, having done it before, but under this version of FF I can find no trace of main sessionstore.jsonlz4

Where is it found now? It used to be in the library under applications. It is not in the the profile itself. I have used search and gone though it manually and it doesn't appear. It has to be somewhere as FF still opens.

Thanks.

more options

The sessionstore.jsonlz4 file is only present in the profile folder when Firefox is closed properly. When Firefox is running files in the sessionstore-backups folder are used.

You will normally find these files in the sessionstore-backups folder:

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

If Firefox doesn't use the sessionstore.jsonlz4 you copied then check "History -> Restore Previous Session" and possibly "History -> Recently Closed Tabs/Windows".

Did you check the sessionstore file to see whether it is not corrupted ?

Note that the file might not be compatible if the file is from an old Firefox version.

more options

Thanks, Yes, and it was closed. That's why I Posted here.

These files were there:

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

Chosen Solution

I have solved it.

The last few times I tried this to find the sessionstore.jsonlz4 file, I rhad eached the profile by going through the Troubleshooting console and clicking the link to profile and and then closing FF.

For some reason the sessionstore.jsonlz4 did not show up. Even after refreshing the folder. However this last time when I then manually went to the library to session back ups folder it was there.

Have replaced the old sessionstore.jsonlz4 file with renamed previous session file and and all is back to normal.

Thanks.