為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox Sync'd setting caused lost session

more options

Hi,

I had logged onto my Firefox sync account and shutdown my computer with "clear Firefox history on close" activated and can't recover my session even looking through my profiles folder for .jsonlz4 files.

Does this just clear my local history or is the sync'd history irrecoverable? (It seems like it is)

I've tried using window's file recovery tool to scan for the deleted files on my SSD but after reviewing the files with a hex editor, a huge top portion was zero'd out. Is this to do with TRIM or the data recovery tool just not picking up the right sectors?

Hi, I had logged onto my Firefox sync account and shutdown my computer with "clear Firefox history on close" activated and can't recover my session even looking through my profiles folder for .jsonlz4 files. Does this just clear my local history or is the sync'd history irrecoverable? (It seems like it is) I've tried using window's file recovery tool to scan for the deleted files on my SSD but after reviewing the files with a hex editor, a huge top portion was zero'd out. Is this to do with TRIM or the data recovery tool just not picking up the right sectors?

被選擇的解決方法

Were you using "Clear history when Firefox closes" to clear the browsing history as that will prevent session restore from restoring the previous session ?


You can check if you can find a recent upgrade.jsonlz4 in the sessionstore-backups folder in the profile folder.

Backup the session files in the sessionstore-backups folder in the Firefox profile folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

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

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

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

所有回覆 (2)

more options

選擇的解決方法

Were you using "Clear history when Firefox closes" to clear the browsing history as that will prevent session restore from restoring the previous session ?


You can check if you can find a recent upgrade.jsonlz4 in the sessionstore-backups folder in the profile folder.

Backup the session files in the sessionstore-backups folder in the Firefox profile folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

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

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

cor-el said

Were you using "Clear history when Firefox closes" to clear the browsing history as that will prevent session restore from restoring the previous session ?

You can check if you can find a recent upgrade.jsonlz4 in the sessionstore-backups folder in the profile folder.

Backup the session files in the sessionstore-backups folder in the Firefox profile folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

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

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

The sessionstore-backups folder didn't have any relevant backups, could you tell me the behavior of these files? I'm not sure how they get deleted