Recent answers to Remote Tech Chat Window left open, main window with 1200 synced tabs closed, need synced tabs backhttps://support.mozilla.org/ga-IE/questions/13200942020-12-31T05:07:53-08:00Cor-el, you are a lifesaver!!!! First, I have never heard that it was bad to use the X to close out 2020-12-31T05:07:53-08:00johncat222https://support.mozilla.org/ga-IE/questions/1320094#answer-1380244<p>Cor-el, you are a lifesaver!!!! First, I have never heard that it was bad to use the X to close out Firefox. I have used that for years. While I will certainly change my habit, I was curious as to why not?
</p><p>Most importantly, the information that you provided brought my tab back. With a little bit of fuddling around, I got it. Fortunately, my Firefox apparently just did an update yesterday. All of the single tabs that he opened after accidentally closing the multiple tabs had overwritten the backup files. But I found the ONE update file from yesterday that had all of my open tabs as of last night and I was able to get it restored and opened properly. Thank you very much!!! That was a good learning experience too.
</p><p>So the only way really to back up and potentially restore synced / opened tabs is to back up that sessionstore file, correct?
</p><p>Thanks again!!
</p>Did you look at "History -> Recently Closed Windows" to see if you can reopen this window ?
2020-12-31T04:05:46-08:00cor-elhttps://support.mozilla.org/ga-IE/questions/1320094#answer-1380226<p>Did you look at "History -&gt; Recently Closed Windows" to see if you can reopen this window&nbsp;?
</p><p>Note that best is not to click the close X to close a window, but to use the menu to Quit/Exit Firefox.
</p><p>Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar.
</p>
<ul><li>"3-bar" menu button -&gt; Exit (Power button)
</li><li>Windows: File -&gt; Exit
</li><li>Mac: Firefox -&gt; Quit Firefox
</li><li>Linux: File -&gt; Quit
</li></ul>
<hr>
<p>You can check if you have a recent upgrade.jsonlz4 file that you can use to restore that lost window.
</p><p>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.
</p><p>You will normally find these files in the sessionstore-backups folder:
</p>
<ul><li>previous.jsonlz4 (cleanBackup: copy of sessionstore.jsonlz4 from previous session that was loaded successfully)
</li><li>recovery.jsonlz4 (latest version of sessionstore.jsonlz4 written during runtime)
</li><li>recovery.baklz4 (previous version of sessionstore.jsonlz4 written during runtime)
</li><li><b>upgrade.jsonlz4-&lt;build_id&gt;</b> (backup created during an upgrade of Firefox)
</li></ul>
<p>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 (make sure to backup the current sessionstore.jsonlz4).
</p><p>You can look at this tool to inspect a compressed sessionstore file.
</p>
<ul><li><a href="https://www.jeffersonscher.com/res/scrounger.html" rel="nofollow">https://www.jeffersonscher.com/res/scrounger.html</a>
</li></ul>
<p>You can use the button on the "Help -&gt; Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page.
</p>
<ul><li>Help -&gt; Troubleshooting Information -&gt; Profile Folder/Directory:<br>Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder
</li><li><a href="https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data" rel="nofollow">https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data</a>
</li></ul>