搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How do I restore a previous session from an Old Firefox Data folder?

  • 2 回覆
  • 15 有這個問題
  • 148 次檢視
  • 最近回覆由 DerekSands

more options

There was a power blackout today while I was booting up Firefox and the computer shut down instantly. Later, when I tried to open Firefox again, it started glitching out, with the Restore Session option only resulting in empty tabs. I refreshed Firefox and now I have a 'Old Firefox Data' folder.

I have a sessionrestore-backups folder in that folder, with a 'previous.js' file. How do I use this file (or any of the others in the folder) to gain access to my lost session? Is it possible at all?

Thanks for any and all help.

被選擇的解決方法

You can find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<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.js to replace the current file (make a backup copy of the current sessionstore.js).

從原來的回覆中察看解決方案 👍 2

所有回覆 (2)

more options

選擇的解決方法

You can find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<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.js to replace the current file (make a backup copy of the current sessionstore.js).

more options

Thank you. I managed to do so and now I can access my old Restore Session option.

But the glitch remains; as in, the Restore Session Error window shows all my active tabs, but if I click restore, it opens a new window with all empty tabs.

If it helps clarify the issue, I get at least two Unresponsive Script errors when Firefox tries to load these tabs. One relates to the tabbrowser and the other to content. These did not appear before the blackout.

Is there any way to resolve this issue?

Edit: I opened the previous.js file I was using to restore my session in Word and all the URLs are definitely there. So I am not sure why Firefox is only opening empty tabs.

由 DerekSands 於 修改