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

Session recovery

more options

Help me! I opened 100 important tabs, Firefox 67 in Windows-7 was set to restore a previous session

Help me! I opened 100 important tabs, Firefox 67 in Windows-7 was set to restore a previous session

Modified by e421399

Chosen solution

If your tabs disappeared and the previous session is not restored:

1. Do not close Firefox! Make a copy of the folder: C: \ Users \ ... \ Firefox \ Profiles \ nrqewkha.default \ sessionstore-backups Enter "about:profiles" in the address bar of the browser, find the 2nd folder sessionstore-backups and also make a copy ..

2. Right-click the previous.jsonlz4, recovery.jsonlz4, recovery.baklz4 files, > then click Properties, > then click the Previous Versions tab. > If there are previous versions of files, you can use the Copy... button to save them to a safe location.

3. Close Firefox Delete sessionstore.jsonlz4 file

4. Replace previous.jsonlz4, recovery.jsonlz4, recovery.baklz4 with previous versions

Read this answer in context 👍 0

All Replies (20)

more options

Help me! I opened 100 important tabs, Firefox 67 in Windows-7 was set to restore a previous session about:config I did not touch. When Firefox crashed, after restarting the computer, the previous session was automatically restored. Today, Firefox crashed, I rebooted the computer, the previous session did not recover,

- "3-bar" menu button > Restore Previous Session - (menu bar) History > Restore Previous Session - "Library" toolbar button > History > Recently Closed Windows (and within each restored window, Recently Closed Tabs) - (menu bar) History > Recently Closed Windows (and within each restored window, Recently Closed Tabs) was missing or empty.

I immediately copied the folder: C:\Users\ … \Firefox\Profiles\nrqewkha.default\sessionstore-backups and closed Firefox through its menu (that is, it only closed Firefox once after a crash) There were 2 files in this folder: recovery.jsonlz4 recovery.baklz4 (The file previous.jsonlz4 was missing) I replaced the sessionstore.jsonlz4 file with the copied recovery.baklz4 file and started Firefox, then repeated the same with recovery.baklz4 Both files turned out to be empty ( I have lost all my tabs several times over 3 years this way ( Google Chrome saves yesterday’s tabs even. Thanks for attention

more options

Hi e421399, I'm puzzled that all your session history files were missing. I assume your Firefox normally saves history, or you wouldn't be able to keep restoring your session.

Is it possible that your Firefox started up in the wrong (or a new) profile? Please take a look here:

Profile Manager Page

Inside Firefox, type or paste about:profiles in the address bar and press Enter/Return to load it.

This page should list at least one profile and could list many. (Each profile has two folders and one or more buttons. Do not use any Remove buttons!)

The profile that Firefox is currently using will have this:

This is the profile in use and it cannot be deleted.

Do you have another profile named default or default-longnumber listed on this page? If so, what I suggest is:

On the "Root" folder line, click the button to open the folder and check whether the sessionstore-backups folder has recent files. If so, please back those up, too.

After investigating available files, you can launch the best avalable profile -- if there is one -- by clicking its Launch profile in new browser button.

If it isn't your recent setup, simply close that new window.

If it IS what you want, back on the about:profiles page, click the Set as default profile button for that profile so Firefox uses it automatically at the next startup.

Any progress so far?

more options

Thanks so much for the advice! With about: profile, I found: 1. another sessionstore-backups folder but, unfortunately, the bak-files in it turned out to be updated ( 2. C: \ Users \ Machairodus \ AppData \ Local \ Mozilla \ Firefox \ Profiles \ nrqewkha.default \ cache2 \ entries with files like A01037CD8BF16FA02792F1C686A95CE62D33840A - they have a good time and size. Are there 2nd files information about tabs before the crash?

more options

there is still a folder: C: \ Users \ Machairodus \ AppData \ Local \ Mozilla \ Firefox \ Profiles \ nrqewkha.default \ safebrowsing with files like: mozstd-trackwhite-digest256.sbstore also with a good time

more options

Hi e421399, thanks for checking.

For #1, you found more files that were too new to have your missing tabs in a different profile? Hmm, what is going on

For #2, that's where Firefox stored cached files. I thought the cache got flushed after a crash but maybe you can find some pre-crash pages listed.

To see what is available, you can load the about:cache page in a Firefox tab. Then look at the Disk cache entries. This list can be very slow to load on a traditional spinning hard drive; faster on an SSD. And then the challenge is finding page addresses amidst all the images and other stuff.


Did your history (URLs visited) survive the crash? You can use "Show All History" or Ctrl+Shift+h to view that.

There might also be some other sources of data available, with more digging.

First, how confident are you that this one is your regular profile?

If you are pretty sure, then you could try the "Previous Versions" approach detailed in the following thread: https://support.mozilla.org/questions/1244235

If you are not sure, try the Restore Point exploration tools mentioned in that thread to see whether you an uncover a deleted profile.

At least one user also mentioned having luck using Recuva, a deleted file recovery tool. Since those need to be run ASAP before Windows overwrites the disk space, you could consider running that right now, looking for deleted recovery.jsonlz4 and recovery.baklz4 files from the relevant time.

https://www.ccleaner.com/recuva

more options

e421399 said

there is still a folder: C: \ Users \ Machairodus \ AppData \ Local \ Mozilla \ Firefox \ Profiles \ nrqewkha.default \ safebrowsing

Those are lists of malware and phishing sites, so you can ignore the SafeBrowsing folder.

more options

www.ccleaner.com/recuva - Download, install. Found recovery.baklz4 from 2019-08018 - 888 kbyte in excellent condition Restored, renamed to sessionstore.jsonlz4 I copied to the folder C: \ Users \ ... \ Firefox \ Profiles \ nrqewkha.default But Firefox reopened without tabs. Did I open incorrectly?

more options

Information about the Network Cache Storage Service Number of entries: 1143 Maximum storage size: 1048576 KiB Storage in use: 36498 KiB Storage disk location: C:\Users\Machairodus\AppData\Local\Mozilla\Firefox\Profiles\nrqewkha.default\cache2

in cache2 - sites visited by me earlier are displayed Is it just a story? My story (visited URLs) is preserved

more options

Thank you so much! I have not met a person who helped as detailed and good as you.

more options

e421399 said

www.ccleaner.com/recuva - Download, install. Found recovery.baklz4 from 2019-08018 - 888 kbyte in excellent condition Restored, renamed to sessionstore.jsonlz4 I copied to the folder C: \ Users \ ... \ Firefox \ Profiles \ nrqewkha.default But Firefox reopened without tabs. Did I open incorrectly?

Hopefully you kept a backup of that file?

If you run the file (or a new previous.jsonlz4 created from it?) through the Scrounger tool, can it extract out a list of the tabs?

https://www.jeffersonscher.com/ffu/scrounger.html

more options

I used the 'Clear recent history' of last one hour, not the Forget feature too ( according to your advice at https://support.mozilla.org/en-US/questions/1244235 - I found another good 3 copies of recovery.jsonlz4

Modified by e421399

more options

I rename recovery.jsonlz4 to previous.jsonlz4 But https://www.jeffersonscher.com/ffu/scrounger.html - does not accept any files

more options

Thank you so much! All tabs recovered

I spent time backing up before restoring the operating system

Modified by e421399

more options

Sorry, long lunch. So all is well now?

P.S. I don't recommend the Forget feature, it's too destructive.

more options

Chosen Solution

If your tabs disappeared and the previous session is not restored:

1. Do not close Firefox! Make a copy of the folder: C: \ Users \ ... \ Firefox \ Profiles \ nrqewkha.default \ sessionstore-backups Enter "about:profiles" in the address bar of the browser, find the 2nd folder sessionstore-backups and also make a copy ..

2. Right-click the previous.jsonlz4, recovery.jsonlz4, recovery.baklz4 files, > then click Properties, > then click the Previous Versions tab. > If there are previous versions of files, you can use the Copy... button to save them to a safe location.

3. Close Firefox Delete sessionstore.jsonlz4 file

4. Replace previous.jsonlz4, recovery.jsonlz4, recovery.baklz4 with previous versions

more options

Thank you so much! All is well now Let luck accompany you Did I write the answer correctly?

There are so many similar questions. So that you do not have to answer each person in detail, perhaps it will be convenient for you to find the most popular wording of the question, and in the answer to it, insert links to similar answers?

Modified by e421399

more options

Hi e421399, I think you've covered it reasonably well for Windows 7.

Unfortunately, the Previous Versions tab was removed on Windows 8, 8.1, and 10 and doesn't exist on Mac or Linux, so those users need other tips. It's very difficult to write universal answers that aren't impossible to follow.

more options

How do I pass on suggestions for developers to improve Firefox ?: 1. Save backup of session - within 2 days. 2. In the Firefox window so that there is a button for operatively disabling of Scripts - Firefox often freezes due to Scripts on site pages, - If you disable Scripts through "About:config", then many pages do not work as expected.

more options

Users also write that there used to be upgrade.js-YYYYMMXXXXXXXX files containing session information

more options

e421399 said

How do I pass on suggestions for developers to improve Firefox ?:
  1. Save backup of session - within 2 days.
  2. In the Firefox window so that there is a button for operatively disabling of Scripts
  • Firefox often freezes due to Scripts on site pages,
  • If you disable Scripts through "About:config", then many pages do not work as expected.

For #1, I don't think there is going to be a change to save more than just the immediately previous session, but there are extensions that offer more options. These are the ones I'm aware of that you might investigate/try out:

Use database storage:

Use bookmark storage:

Bookmark storage is more robust in that Firefox backs it up regularly. However, having the extra data show up when you are searching your bookmarks may be annoying.

For #2, I find that I get that message from time to time if I am doing something in the page that requires a lot of computation. Usually extending the time once is enough. If you know of pages that constantly have this problem, you could report them as having a Web Compatibility bug: https://webcompat.com/

e421399 said

Users also write that there used to be upgrade.js-YYYYMMXXXXXXXX files containing session information

Yes, I have three of those (three latest updates). I let Firefox update itself after notifying me and getting my approval; I don't run an external installer.


To submit feature suggestions, you have many choices, depending on your desired style of interaction.

Discussion Sites/Advocacy

Limited Length Comments

Bug Tracking System

  1. 1
  2. 2