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

Support Forum

Create a session backup

Posted

On numerous occasions, when I update to a new version of firefox or have a crash, I will lose my session restore capability. I know there's a way to create a backup of this, and would like to start doing so on a regular basis, but I'm not sure of what type of file to create and how to go about doing so. Thanks!

On numerous occasions, when I update to a new version of firefox or have a crash, I will lose my session restore capability. I know there's a way to create a backup of this, and would like to start doing so on a regular basis, but I'm not sure of what type of file to create and how to go about doing so. Thanks!

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 11.0.13
  • Version 5.41.2.0
  • Google Update
  • Intel web components for Intel® Identity Protection Technology
  • Intel web components updater - Installs and updates the Intel web components
  • Office Authorization plug-in for NPAPI browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • NPWLPG
  • Shockwave Flash 19.0 r0
  • 5.1.40728.0
  • iTunes Detector Plug-in

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0

More Information

jscher2000
  • Top 10 Contributor
8637 solutions 70653 answers

If you keep Firefox running most of the time, you could back up the following folder. I'm going to describe a quick way to access the folder and then you can copy the full path from the Windows explorer address bar.

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

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

Scroll down and double-click into the sessionstore-backups folder. The recovery.js file is your live session, and previous.js is, as the name suggests, your previous session. The other files generally are from when you instlaled various Firefox updates. You can back up these files daily.

Note, however, that when Firefox is closed, it removes recovery.js and creates sessionstore.js at the main level profile folder (the one that opened initially when you launched this window).

Does that help?

If you keep Firefox running most of the time, you could back up the following folder. I'm going to describe a quick way to access the folder and then you can copy the full path from the Windows explorer address bar. 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 In the first table on the page, click the "Show Folder" button. This should launch a new window listing various files and folders in Windows Explorer. Scroll down and double-click into the '''sessionstore-backups''' folder. The '''recovery.js''' file is your live session, and '''previous.js''' is, as the name suggests, your previous session. The other files generally are from when you instlaled various Firefox updates. You can back up these files daily. Note, however, that when Firefox is closed, it removes recovery.js and creates sessionstore.js at the main level profile folder (the one that opened initially when you launched this window). Does that help?

Question owner

So I've tried to restore from the previous.js file when I had the crash/new version of firefox prob in the past, but it hasn't worked. 1.) Where should I save this file and 2.) Will it work if I'm saving thid elsewhere?

So I've tried to restore from the previous.js file when I had the crash/new version of firefox prob in the past, but it hasn't worked. 1.) Where should I save this file and 2.) Will it work if I'm saving thid elsewhere?
jscher2000
  • Top 10 Contributor
8637 solutions 70653 answers

This is the general procedure for restoring a session history file (whether recovery.js or previous.js or one of the upgrade files):

(1) Exit Firefox normally. During shutdown, these changes should occur:

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

(2) Once Firefox has stopped updating things, rename sessionstore.js to sessionstore.old

(3) Copy in the file you want to restore (your old previous.js in this case) and rename it to sessionstore.js -- Windows should show it right next to sessionstore.old in alphabetical order

(4) Start Firefox and it should read the "new" sessionstore.js and restore that session -- you might still need to use Restore Previous Session if it is not restored automatically, and check Recently Closed Windows for any missing windows

This is the general procedure for restoring a session history file (whether recovery.js or previous.js or one of the upgrade files): (1) Exit Firefox normally. During shutdown, these changes should occur: * recovery.js is moved from the sessionstore-backups folder to the main level of the profile folder and renamed to sessionstore.js * recovery.bak is deleted from sessionstore-backups (2) Once Firefox has stopped updating things, rename sessionstore.js to sessionstore.old (3) Copy in the file you want to restore (your old previous.js in this case) and rename it to sessionstore.js -- Windows should show it right next to sessionstore.old in alphabetical order (4) Start Firefox and it should read the "new" sessionstore.js and restore that session -- you might still need to use Restore Previous Session if it is not restored automatically, and check Recently Closed Windows for any missing windows

Question owner

Where is the sessionstore-backups folder located? I've searched sessionstore and various other searches in my harddrive. I've looked in the options in firefox. I've generally searched mozilla and firefox on my hard drive. It's not in my profiles.

Where is the sessionstore-backups folder located? I've searched sessionstore and various other searches in my harddrive. I've looked in the options in firefox. I've generally searched mozilla and firefox on my hard drive. It's not in my profiles.
jscher2000
  • Top 10 Contributor
8637 solutions 70653 answers

Did you try the method of getting to the folder that I described in this post: https://support.mozilla.org/questions/1092551#answer-802633

Firefox profiles are under a hidden path in your Windows profile. To show hidden files and folders and make them available in searches, see this Microsoft support article: http://windows.microsoft.com/en-us/windows/show-hidden-files

Did you try the method of getting to the folder that I described in this post: https://support.mozilla.org/questions/1092551#answer-802633 Firefox profiles are under a hidden path in your Windows profile. To show hidden files and folders and make them available in searches, see this Microsoft support article: http://windows.microsoft.com/en-us/windows/show-hidden-files