搜索 | 用户支持

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

Learn More

getting my open tabs and browser history from time machine backup after computer shut down (restore previous session not available currently)

  • 6 个回答
  • 1 人有此问题
  • 531 次查看
  • 最后回复者为 samanime

more options

Greetings: My computer was shutdown and restarted by a colleague and I seem to have lost my browsing history and all the open tabs from my last session are not retrievable — restore previous session is not available / appears grey'd out. I am on a macbook pro running Big Sur and I do have a time machine backup of that last session — can I get back those open tabs and browser history from my time machine? Can I do it a la carte or do I need to wipe my whole computer and restore from there? Thanks in advance for your thoughts, Sam

Greetings: My computer was shutdown and restarted by a colleague and I seem to have lost my browsing history and all the open tabs from my last session are not retrievable — restore previous session is not available / appears grey'd out. I am on a macbook pro running Big Sur and I do have a time machine backup of that last session — can I get back those open tabs and browser history from my time machine? Can I do it a la carte or do I need to wipe my whole computer and restore from there? Thanks in advance for your thoughts, Sam

被采纳的解决方案

Note that on Mac closing Firefox can be more complicated because you can close all open windows, but keep Firefox running with the menu bar visible or minimized in the Doc.

Make sure to "Quit Firefox" with all windows still open. Otherwise check "History -> Restore Previous Session" and "History -> Recently Closed Tabs/Windows".


Location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • ~/Library/Application Support/Firefox/Profiles/<profile>

In Mac OS X v10.7 and later, the "~/Library" folder in the Home directory is a hidden folder.

You can try to locate sessionstore.jsonlz4 in the Time Machine backup and if that doesn't work you can check the sessionstore-backups folder.

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)

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
定位到答案原位置 👍 0

所有回复 (6)

more options

This thread: https://support.mozilla.org/en-US/questions/1267353 may give you an idea of the Firefox files involved in the 'session restore' process. If they are stored in your backup (you may check for correct date), just follow the steps of the thread. good luck, Jürgen.

more options

Hey thanks Jürgen The link you sent seems pretty windows-centric and I am working on a Big Sur Mac laptop... I wrote to jscher2000 who seemed to have solved the issue you linked to — perhaps he has solutions and if so I will post here. Thx and best, S

more options

选择的解决方案

Note that on Mac closing Firefox can be more complicated because you can close all open windows, but keep Firefox running with the menu bar visible or minimized in the Doc.

Make sure to "Quit Firefox" with all windows still open. Otherwise check "History -> Restore Previous Session" and "History -> Recently Closed Tabs/Windows".


Location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • ~/Library/Application Support/Firefox/Profiles/<profile>

In Mac OS X v10.7 and later, the "~/Library" folder in the Home directory is a hidden folder.

You can try to locate sessionstore.jsonlz4 in the Time Machine backup and if that doesn't work you can check the sessionstore-backups folder.

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)

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
more options

Thank you cor-el! I think I follow but just to be clear for a non-pro like me: First quit Firefox (which I already quit once since making this error so keeping it open is no longer an option). Then in my time machine back up, I should locate all 4 bulleted files noted in sessionstore-backups folder. Then I should find whats currently in those sessionstore-backups on my machine now and move/ save them into a new folder (just in case) — and then I should replace those files with the time machine backup versions. Then on reopening Firefox i can restore old session? Thx and best S

more options

Yes, hopefully that works if the backup has your lost tabs.

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

Note that you need to place the file you want to use at the main profile level (i.e.where you see sessionstore-backups) and rename the file to sessionstore.jsonlz4 to replace the current sessionstore.jsonlz4 file.

more options

Hey cor-el, just wanted to thank you again — this worked — so grateful for your help!