We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

搜索 | 用户支持

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

详细了解

Can't restore previous session from sessionstore-backups

  • 4 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 cor-el

more options

Today I opened my Firefox and all my tabs are gone. I was able to find a backup in sessionstore-backups, but when I renamed it to "sessionstore.jsonlz4" and replaced the one in the main profile folder, opening Firefox still don't gave me any tabs, just the default "new tab".

Today I opened my Firefox and all my tabs are gone. I was able to find a backup in sessionstore-backups, but when I renamed it to "sessionstore.jsonlz4" and replaced the one in the main profile folder, opening Firefox still don't gave me any tabs, just the default "new tab".

所有回复 (4)

more options

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

more options

Did you look at "History -> Recently Closed Tabs/Windows" ?

more options
    • UPDATE ** Not looking at the current Library/Application Support/Firefox. Still, FF 90 doesn't want to do my little "always display which-tabs-to-restore dialog" thing anymore.

I just updated to version 90.0 (macosx, intel), and there doesn't seem to *be* a recovery.jsonlz4 file anymore.. I used these to backup tabs regularly (I'm a tab-hoarders, fortunately or unfortunately). FF doesn't seem to want to change my prefs to let me always open with the "Choose Tabs To Restore" dialog (*), but FF doesn't seem to want to save the prefs.js changes anymore. (Nor does Waterfox) But I figured if I could save the recovery.lz4 file, I could make a program to extract the urls and allow me to somehow navigate the enormous "url-data-sea" I have managed to not quite drown in.

But if there *is* no recovery.jsonlz4 anymore.. macOS's (Monterey beta) "Sort by Date Modified" on the FF Profile folder is useless - doesn't seem to update at all. Is the "previous session" now stored in the places.sqlite database along with everything (?) else?

(*) By setting: browser.sessionstore.resume_from_crash = false, resume_session_once = true, resuming_after_os_restart = true

由Jimw338于修改

more options

Make sure you do not run Firefox in permanent Private Browsing mode (Always use Private Browsing mode; Never Remember History).

  • Settings -> Privacy & Security
    Firefox will: "Use custom settings for history"
  • remove checkmark: [ ] "Always use Private Browsing mode"

In case you use "Clear history when Firefox closes".

  • do not clear the Browsing History