为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

In Firefox, after a reboot, how can I re-open my previous sessions?

  • 6 个回答
  • 0 人有此问题
  • 41 次查看
  • 最后回复者为 NoahSUMO

more options

In Firefox, after a reboot, how can I re-open my previous sessions?

Originally I had quite a lot of open browsers & tabs. Then I needed to do a reboot, and now I've lost those previous sessions.

Usually I just open Firefox, and this opens one browser, and then all of my previous browser, and tabs reopen, but this time Firefox crashed, and its popup said it needed to restart, but it would re-open my previous browser and tabs, but it didn't.

After following the usual Firefox help guides, it still wouldn't re-open my previous sessions. Now if I ask it to open my previous sessions, it just opens the recent help guides, and not anything before the crash.

So is there a backup file of my missing sessions that I can roll back to?

In Firefox, after a reboot, how can I re-open my previous sessions? Originally I had quite a lot of open browsers & tabs. Then I needed to do a reboot, and now I've lost those previous sessions. Usually I just open Firefox, and this opens one browser, and then all of my previous browser, and tabs reopen, but this time Firefox crashed, and its popup said it needed to restart, but it would re-open my previous browser and tabs, but it didn't. After following the usual Firefox help guides, it still wouldn't re-open my previous sessions. Now if I ask it to open my previous sessions, it just opens the recent help guides, and not anything before the crash. So is there a backup file of my missing sessions that I can roll back to?

由NoahSUMO于修改

所有回复 (6)

more options

Anyone Have Any Idea's ?? Many Thanks

more options

Yes, the session issue is a problem in Firefox, but here is a detailed answer. https://support.mozilla.org/en-US/questions/1449521

more options

The most critical advice is that you need to back up your sessionrestore files. Please do this before opening Firefox too many times. As doing that, will overwrite the backup files & lose your tabs.

To find your Firefox profile without opening Firefox: https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_finding-your-profile-without-opening-firefox

Then focus on backing up the sessionstore-backups folder. You can also backup the entire Firefox profile if you want by copying it to another location.

Tab backup steps I copied from Cor-el's post: In your Firefox profile folder, double-click into the sessionstore-backups folder. Save all files here to a safe location such as your Documents folder.

What files did you find? The kinds of files you may find among your sessionstore files are:

  • recovery.jsonlz4: the windows and tabs in your currently live Firefox session (or, if Firefox crashed at the last shutdown and is still closed, your last session)
  • recovery.baklz4: a backup copy of recovery.jsonlz4
  • previous.jsonlz4: the windows and tabs in your last Firefox session
  • upgrade.jsonlz4-build_id: the windows and tabs in the Firefox session that was live at the time of your last update
more options

You can look at this tool to inspect a compressed jsonlz4 sessionstore file to check if a sessionstore file has your lost tabs. This tool works locally, no uploading done.

more options

NoahSUMO said

The most critical advice is that you need to back up your sessionrestore files. Please do this before opening Firefox too many times. As doing that, will overwrite the backup files & lose your tabs. Then focus on backing up the sessionstore-backups folder. You can also backup the entire Firefox profile if you want by copying it to another location.

Yeah, I started doing this months ago when I noticed in Nightly that the contents of the sessionstore-backups folder was being erased. see screenshot I assume the devs are aware of this because I did mention it on the https://chat.mozilla.org/#/room/#nightly:mozilla.org They also created a new folder in Nightly for logs. see screenshot

由jonzn4SUSE于修改

more options

Oh awesome. Nice find! I had no idea they started logging the success rate of the sessionrestore files. My idea for the devs was to ask them to create more session backups over a longer period of time. In case one of the session restore files ends up becoming corrupted. Maybe 1 week worth of backups. But since we get users who've been late to report they lost their tabs, I think 2 weeks worth of backups would be really nice.

I will file that bug soon. I hope they are open to implementing it.