How to restore a browsing session from backup

Firefox Firefox Actualizado por última vez: 1 semana, 3 días ago 61% of users voted this helpful
Nadie ha ayudado a traducir este artículo todavía. Si ya sabes como funciona la localización para SUMO, puedes comenzar traducir ahora. Si quieres aprender como traducir artículos para SUMO, por favor comienza aquí.

Check about:sessionrestore

If a session is lost, hopefully the restore pages open automatically, but, if not, go to about:sessionrestore in the location bar. Your page should look similar to this:

Fx97RestoreSessionsession1

If this page is empty or the Restore Session is disabled, continue reading.

Restoring from a backup file

  1. Open the Troubleshooting Information page by entering about:support in the Firefox address bar.
  2. In the Application Basics section, check the Distribution ID line.
    • If it contains mozilla-MSIX, this means you are using the MSIX (Microsoft Store) Firefox version.
      Firefox_about:support_Profile folder name
      In this case:
      1. Press Windows Key + R on the keyboard. A Run dialog will open.
      2. Type in:
        %LOCALAPPDATA%\Packages\Mozilla.Firefox
        without pressing Enter. A list of an only folder will appear.
      3. Click on the suggested folder. Then add:
        \LocalCache\Roaming\Mozilla\Firefox\Profiles\
      4. Click OK. A window will open containing profile folders.
      5. Open the folder which name matches the ending of the Profile Folder line of the Application Basics section.
    • Otherwise, click the Open Folder button in the Profile Folder line of the Application Basics section.
      Firefox_about:support_Open profile folder
  3. A file system view of your profile folder will show up.
  4. In the profile folder (for example, xxxxxxxx.default-release), if you scroll down a bit, you should see the sessionstore-backups folder.
  5. Make a copy of the sessionstore-backups folder.
  6. Shut down Firefox. Generally, you want to avoid file system operations (move, copy, delete) in this folder while Firefox is running. The copy of the unaccessed backups folder was necessary and should be safe.
  7. Move the file called sessionstore.jsonlz4 to another location (like your desktop). Moving rather than deleting is a precautionary step.
    Note: This file does not exist while Firefox is running.
  8. Navigate to the sessionstore-backups backup folder you made.
  9. Review the files in this folder by date modified (you can ignore their names, any file in this folder should be restorable). If the most recently modified file is particularly small compared to others, it may be mostly blank, and you'll want to use the bigger one.
  10. Copy your chosen file into the main profile folder. (Not the original sessionstore-backups folder, but the one above it.)
  11. Rename the file to sessionstore.jsonlz4.
  12. Start up Firefox.
Warning: You may need to ensure that your file system viewer is not hiding the file extensions of known types (like .js or .jsonlz4) in order to properly rename the backup files.
  1. Open the Troubleshooting Information page by entering about:support in the Firefox address bar.
  2. In the Application Basics section, click the Show in FinderOpen FolderOpen Directory button in the Profile FolderProfile Directory line (shown below on macOS).
    Firefox_about:support_Open profile foldersession2
  3. A file system view of your profile folder will show up.
  4. In the profile folder (for example, xxxxxxxx.default-release), if you scroll down a bit, you should see the sessionstore-backups folder.
  5. Make a copy of the sessionstore-backups folder.
  6. Shut down Firefox. Generally, you want to avoid file system operations (move, copy, delete) in this folder while Firefox is running. The copy of the unaccessed backups folder was necessary and should be safe.
  7. Move the file called sessionstore.jsonlz4 to another location (like your desktop). Moving rather than deleting is a precautionary step.
    Note: This file does not exist while Firefox is running.
  8. Navigate to the sessionstore-backups backup folder you made.
  9. Review the files in this folder by date modified (you can ignore their names, any file in this folder should be restorable). If the most recently modified file is particularly small compared to others, it may be mostly blank, and you'll want to use the bigger one.
  10. Copy your chosen file into the main profile folder. (Not the original sessionstore-backups folder, but the one above it.)
  11. Rename the file to sessionstore.jsonlz4.
  12. Start up Firefox.
Warning: You may need to ensure that your file system viewer is not hiding the file extensions of known types (like .js or .jsonlz4) in order to properly rename the backup files.

Conclusion

If you feel that you are more prone to losing your session – sessions with lots of tabs may fall into this category – or would just like insurance, the recommended extension Tabs Session Manager helps keep sessions safe.


Based on information from How to Restore a Browsing Session from Backup (reddit.com/r/firefox)

¿Te resultó útil este artículo?

Espera por favor...

These fine people helped write this article:

Illustration of hands

Voluntario

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More