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

Closed windows lost after clearing recent history (1hr) and backup sessions seem to be gone.

  • 4 respostas
  • 1 has this problem
  • 1 view
  • Last reply by Tanuki-

more options

Hi, A few hours ago I cleared the last hour of recent history, FYI I checked browsing & download history, form & search history and cache when doing it but after that I realised all my closed windows and tabs were lost except the ones being opened.

In the session backup folder there is only 2 files, recovery.baklz4 and recovery.jsonlz4. Actually I just checked, there is 3 now, previous.jsonlz4, but they're all pretty much the same, after I lost those windows and tabs, and the former two seem to be constantly saving themselves, not sure why, is this supposed to be happening?

Usually there were upgrade backup files such as [upgrade.jsonlz4-date] but I don't have them in [sessionstore-backups], has something changed or is there something wrong with my browser?

When I realised my closed windows were gone I immediately made a backup but it was too late, they were all after I've lost the closed tabs and windows, and there were only two files (the files constantly saving I mentioned earlier).

So how should I proceed? I want to get my session restored but the last usable session backup I've made was months ago.

Hi, A few hours ago I cleared the last hour of recent history, FYI I checked browsing & download history, form & search history and cache when doing it but after that I realised all my closed windows and tabs were lost except the ones being opened. In the session backup folder there is only 2 files, recovery.baklz4 and recovery.jsonlz4. Actually I just checked, there is 3 now, previous.jsonlz4, but they're all pretty much the same, after I lost those windows and tabs, and the former two seem to be constantly saving themselves, not sure why, is this supposed to be happening? Usually there were upgrade backup files such as [upgrade.jsonlz4-date] but I don't have them in [sessionstore-backups], has something changed or is there something wrong with my browser? When I realised my closed windows were gone I immediately made a backup but it was too late, they were all after I've lost the closed tabs and windows, and there were only two files (the files constantly saving I mentioned earlier). So how should I proceed? I want to get my session restored but the last usable session backup I've made was months ago.

Tanuki- modificouno o

Chosen solution

I'm sorry, the "Forget" feature has this terrible behavior and I am not aware of any workaround for it or quick recovery from it. I did file a bug report, but it is being treated as a feature request, so it isn't getting immediate attention: https://bugzilla.mozilla.org/show_bug.cgi?id=1497731

If you don't have a recent (enough) backup of your Firefox profile folder, it's possible Windows took a snapshot during a system update. Don't use system restore! That typically causes more problems.

For Windows 7, you have two options:

(A) Previous Versions Tab (not present in Win8, 8.1, or 10)

While Firefox is running: open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Open Folder" button. In your profile folder, double-click into the sessionstore-backups folder.

Right-click the recovery.jsonlz4 file, then click Properties, then click the Previous Versions tab. This should search recent restore points for copies of this file at the identical location (i.e., within the same profile).

If you find any promising (i.e., recent) candidates, you can use the Copy... button to save them to a safe location for examination ("scrounging" using https://www.jeffersonscher.com/ffu/scrounger.html).

If you have a previous.jsonlz4 file, check that one, too.

This method doesn't work with files that are no longer present in the folder, so for those:

(B) Restore Point Explorers

There are several programs you can use to export files from restore points. Here's the rundown:

(1) Set Windows to show hidden files and folders:

https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files

(2) Download and run one of these programs:

Within the most recent restore point shown in the program, you can explore along this path to see whether you can find a timely shadow copy of your profile:

\Users\your-user-name\AppData\Roaming\Mozilla\Firefox\Profiles\

(3) Within your profile folder, check the sessionstore-backups folder for any useful looking files and Export them to a safe location.

Then you can scrounge them to see whether they have what you need.

Ler a resposta no contexto 👍 1

All Replies (4)

more options

Chosen Solution

I'm sorry, the "Forget" feature has this terrible behavior and I am not aware of any workaround for it or quick recovery from it. I did file a bug report, but it is being treated as a feature request, so it isn't getting immediate attention: https://bugzilla.mozilla.org/show_bug.cgi?id=1497731

If you don't have a recent (enough) backup of your Firefox profile folder, it's possible Windows took a snapshot during a system update. Don't use system restore! That typically causes more problems.

For Windows 7, you have two options:

(A) Previous Versions Tab (not present in Win8, 8.1, or 10)

While Firefox is running: open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Open Folder" button. In your profile folder, double-click into the sessionstore-backups folder.

Right-click the recovery.jsonlz4 file, then click Properties, then click the Previous Versions tab. This should search recent restore points for copies of this file at the identical location (i.e., within the same profile).

If you find any promising (i.e., recent) candidates, you can use the Copy... button to save them to a safe location for examination ("scrounging" using https://www.jeffersonscher.com/ffu/scrounger.html).

If you have a previous.jsonlz4 file, check that one, too.

This method doesn't work with files that are no longer present in the folder, so for those:

(B) Restore Point Explorers

There are several programs you can use to export files from restore points. Here's the rundown:

(1) Set Windows to show hidden files and folders:

https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files

(2) Download and run one of these programs:

Within the most recent restore point shown in the program, you can explore along this path to see whether you can find a timely shadow copy of your profile:

\Users\your-user-name\AppData\Roaming\Mozilla\Firefox\Profiles\

(3) Within your profile folder, check the sessionstore-backups folder for any useful looking files and Export them to a safe location.

Then you can scrounge them to see whether they have what you need.

jscher2000 - Support Volunteer modificouno o

more options

Thank you very much. I was able to solve it with Previous versions of the file [recover.jsonlz4], fortunately there was a version of a few days ago. I wasn't aware of this bug clearing all the data in sessionstore-backup folder before this, I'll be careful not to use 'clear recent history' or 'Forget' in the future, at least until it's fixed.

more options

The Forget button is meant as a 'panic' button and all open windows are always closed. You should see a warning about this.

more options

Hmm no I used the 'Clear recent history' of last one hour, not the Forget feature, and I lost my closed (unopened) windows not the open ones. I've been using that with no problem until now. Thanks for the warning, though I haven't tried using Forget feature and probably won't as it was pointed out by jscher that it is bugged.

Tanuki- modificouno o