X
Tap here to go to the mobile version of the site.

Support Forum

How do I backup a session (all the open tabs) so that it can be reloaded after a computer factory reset?

Posted

I need to do a factory reset on my Windows 10 computer, but I don't want to lose the web session I currently have open, so I need to know how I can restore the session after reinstalling Firefox again. Is there a temporary internet files or cookies folder where I can just backup all the files from and put them in there again later, or what?

I need to do a factory reset on my Windows 10 computer, but I don't want to lose the web session I currently have open, so I need to know how I can restore the session after reinstalling Firefox again. Is there a temporary internet files or cookies folder where I can just backup all the files from and put them in there again later, or what?

Chosen solution

Hi markfleener, during your session, Firefox constantly updates a pair of session history files named recovery.jsonlz4 and recovery.baklz4 which you can back up as follows:

Open your current Firefox profile folder using either

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

In the first table on the page, click the "Open Folder" (or "Show in Finder") button.

In your profile folder, double-click into the sessionstore-backups folder. Save the two files I mentioned to a location that will survive your reset, such as external storage or email. These files contain session cookies, so they should be protected from access by others.

Note: These files are removed when you do a normal Firefox shutdown, and at the main level of the profile folder, a file named sessionstore.jsonlz4 will be created that contains the tabs at shutdown.


Now, why not back up your entire profile folder, so your settings, bookmarks, history, and add-ons also come along for the ride? See: Back up and restore information in Firefox profiles


Then the trick will be getting Firefox to use the backed up files. The steps will vary based on whether you want to transplant your old profile folder in toto or just sneak an old session into a newly set up Firefox.

Read this answer in context 1
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

More Information

jscher2000
  • Top 10 Contributor
8427 solutions 68762 answers

Chosen Solution

Hi markfleener, during your session, Firefox constantly updates a pair of session history files named recovery.jsonlz4 and recovery.baklz4 which you can back up as follows:

Open your current Firefox profile folder using either

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

In the first table on the page, click the "Open Folder" (or "Show in Finder") button.

In your profile folder, double-click into the sessionstore-backups folder. Save the two files I mentioned to a location that will survive your reset, such as external storage or email. These files contain session cookies, so they should be protected from access by others.

Note: These files are removed when you do a normal Firefox shutdown, and at the main level of the profile folder, a file named sessionstore.jsonlz4 will be created that contains the tabs at shutdown.


Now, why not back up your entire profile folder, so your settings, bookmarks, history, and add-ons also come along for the ride? See: Back up and restore information in Firefox profiles


Then the trick will be getting Firefox to use the backed up files. The steps will vary based on whether you want to transplant your old profile folder in toto or just sneak an old session into a newly set up Firefox.

Hi markfleener, during your session, Firefox constantly updates a pair of session history files named '''recovery.jsonlz4''' and '''recovery.baklz4''' which you can back up as follows: Open your current Firefox profile folder using either * "3-bar" menu button > "?" Help > Troubleshooting Information * (menu bar) Help > Troubleshooting Information * type or paste '''about:support''' in the address bar and press Enter In the first table on the page, click the "Open Folder" (or "Show in Finder") button. In your profile folder, double-click into the '''sessionstore-backups''' folder. Save the two files I mentioned to a location that will survive your reset, such as external storage or email. These files contain session cookies, so they should be protected from access by others. ''Note: These files are removed when you do a normal Firefox shutdown, and at the main level of the profile folder, a file named'' '''sessionstore.jsonlz4''' ''will be created that contains the tabs at shutdown.'' ---- Now, why not back up your entire profile folder, so your settings, bookmarks, history, and add-ons also come along for the ride? See: [[Back up and restore information in Firefox profiles]] ---- Then the trick will be getting Firefox to use the backed up files. The steps will vary based on whether you want to transplant your old profile folder ''in toto'' or just sneak an old session into a newly set up Firefox.
Was this helpful to you? 1
Quote
jscher2000
  • Top 10 Contributor
8427 solutions 68762 answers

By the way, if you are not formatting your hard drive, the Windows 10 "Refresh" gives you some options for preserving your data. See: https://support.microsoft.com/en-us/help/12415

If you are running something from a recovery partition or CD/DVD, that probably isn't an option.

By the way, if you are not formatting your hard drive, the Windows 10 "Refresh" gives you some options for preserving your data. See: https://support.microsoft.com/en-us/help/12415 If you are running something from a recovery partition or CD/DVD, that probably isn't an option.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17172 solutions 155216 answers

Note that if you would restore the full profile folder that you also need to profiles.ini file that registers profiles, otherwise Firefox won't find the profile and displays an error message.

It is usually not recommended to restore full profile folder content in another profile, because there are files that contain absolute paths to files and folders that can cause this profile to malfunction. Best is to only restore important personal data you need.

You also may have to check the permissions and ownership of restored files.

Note that if you would restore the full profile folder that you also need to profiles.ini file that registers profiles, otherwise Firefox won't find the profile and displays an error message. *http://kb.mozillazine.org/profiles.ini_file It is usually not recommended to restore full profile folder content in another profile, because there are files that contain absolute paths to files and folders that can cause this profile to malfunction. Best is to only restore important personal data you need. *https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile You also may have to check the permissions and ownership of restored files.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.