본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How do I restore my session from recovery.baklz4?

  • 9 답장
  • 1 이 문제를 만남
  • 2 보기
  • 최종 답변자: cor-el

more options

I understand with .jsonlz4 files I'm supposed to move them from sessionstore-backups to the profile folder and rename them to sessionstore.jsonlz4, but what do I do with recovery.baklz4?

I understand with .jsonlz4 files I'm supposed to move them from sessionstore-backups to the profile folder and rename them to sessionstore.jsonlz4, but what do I do with recovery.baklz4?

모든 댓글 (9)

more options

This is the method to "swap" an older session history file (e.g., recovery.baklz4 or previous.jsonlz4) for the current one:

(0) Have the file you want to use in a safe location, i.e., outside of any folder Firefox will be touching during shutdown.

(1) From inside Firefox, open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter/Return

In the first table on the page, click the "Open Folder" button. This should launch a Windows Explorer window listing the various files and folders in your profile.

(2) Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup -- these changes should occur:

  • recovery.jsonlz4 is moved from the sessionstore-backups folder to the main level of the profile folder and renamed to sessionstore.jsonlz4
  • recovery.baklz4 is deleted from sessionstore-backups

(3) Once Firefox has stopped updating things, while viewing the main level of the profile folder:

  • right-click > Rename sessionstore.jsonlz4 to sessionstoreOLD.jsonlz4
  • If you see an older sessionstore.js or sessionstore.bak file, move it somewhere else or delete it
  • {OPTIONAL} right-click > Rename the sessionstore-backups folder to sessionstore-backupsOLD (usually not needed, but sometimes helps if Firefox keeps restoring other session history files)

(4) Copy in the other file you want to restore, and rename it with the name appropriate for its format:

  • Compressed file (Firefox 56+) => sessionstore.jsonlz4
  • Uncompressed .js file (pre-Fx56) => sessionstore.js

(5) Start Firefox and it should read the swapped in sessionstore file and restore whatever was in the substitute file; if you do not have Firefox set to restore your previous windows and tabs automatically, use History > Restore Previous Session

Any luck?

more options

Thank you!

I have to ask for a little clarification.

Given that I have a recovery.baklz4 file, after I rename sessionstore-backups into sessionstore-backupsOLD, am I supposed to rename recovery.baklz4 into recovery.jsonlz4 and then create a NEW sessionstore-backups folder to palce it in?

Or do I rename it into sessionstore.jsonlz4 and put it in the profile folder?

more options

Sorry, by "given that I have a recovery.baklz4 file" I mean that that's what I'm trying to restore from.

more options

Firefox will look for sessionstore.jsonlz4 in the main level of the profile folder at your next startup. Therefore, we suggest copying recovery.baklz4 into the profile folder and renaming it to sessionstore.jsonlz4.

more options

jscher2000 said

Firefox will look for sessionstore.jsonlz4 in the main level of the profile folder at your next startup. Therefore, we suggest copying recovery.baklz4 into the profile folder and renaming it to sessionstore.jsonlz4.

I've tried doing this, but when I run FFox it just gives me a blank tab. There's the option to restore session, but when I click it it just adds another blank tab.

more options

At the point where you have the two blank tabs, is there anything available when you check (either):

  • "Library" toolbar button > History > Recently Closed Windows (and within each restored window, Recently Closed Tabs)
  • (menu bar) History > Recently Closed Windows (and within each restored window, Recently Closed Tabs)

If that doesn't re-open the missing tabs, could you run the recovery.baklz4 file through this tool on my website:

https://www.jeffersonscher.com/res/scrounger.html

It shows which URLs are found under open windows vs. closed windows and the list can be saved off as a clickable list of links in case you can't restore the tabs automatically.

more options

jscher2000 said

At the point where you have the two blank tabs, is there anything available when you check (either):
  • "Library" toolbar button > History > Recently Closed Windows (and within each restored window, Recently Closed Tabs)
  • (menu bar) History > Recently Closed Windows (and within each restored window, Recently Closed Tabs)

If that doesn't re-open the missing tabs, could you run the recovery.baklz4 file through this tool on my website:

https://www.jeffersonscher.com/res/scrounger.html

It shows which URLs are found under open windows vs. closed windows and the list can be saved off as a clickable list of links in case you can't restore the tabs automatically.

I have nothing under recently closed tabs and windows.

When I try to run recovery.baklz4 through the tool on your website it gives me just one empty tab. I guess that means the file is busted :(

Strange. because it is very large (632 kb).

글쓴이 Dimitri001 수정일시

more options

If you look at the content in the box after the file is decompressed, does it look like session file data? For example, starting with:

{"version":["sessionrestore",1],"windows":[

The script that parses out the URLs is looking for certain cues in the file, but it's also possible in principle to just find everything starting with http if that would be helpful. I don't have code at my fingertips, but if you enlarge the box by dragging the lower right corner and then use Find (Ctrl+f) for http and click the Highlight All button you can see whether there are relevant URLs in the file.

more options

Where did you get this recovery.baklz4?

If the file is corrupted (and it sounds it is if there is no session data in it) then it won't work if you try to restore this session.