Recent answers to How to get tabs from a previous session back when FF starts?https://support.mozilla.org/ar/questions/12797332020-02-13T05:30:37-08:00jscher2000 said
(menu bar) History > Recently Closed Windows
"3-bar" menu button > Library2020-02-13T05:30:37-08:0025x8https://support.mozilla.org/ar/questions/1279733#answer-1289950<p><em>jscher2000 <a href="#answer-1289762" rel="nofollow">said</a></em>
</p>
<blockquote>
<ul><li> (menu bar) History &gt; Recently Closed Windows
</li><li> "3-bar" menu button &gt; Library &gt; History &gt; Recently Closed Windows
</li><li> "Library" toolbar button &gt; History &gt; Recently Closed Windows
</li></ul>
</blockquote>
<p>Hello jscher2000,
Thanks for the tip that led me to a quite interesting workaround!
</p><p>As I said, I always keep all the tabs in just one window.
But, reading your detailed response, I decided to give a try to this one (as obviously, Restore session option was greyed out.
</p><p>So, I tried the History &gt; Recently Closed Windows - and Firefox suddenly opened 3 windows in a shot.
The front one was empty, the last one too,
but that second one included all my pinned tabs from the last run!
</p><p>So thanks a lot!
I don't think dev team would ever read this thread, so marking this as resolved, at least this works and might help someone else.
</p>If these --
"3-bar" menu button > Restore Previous Session
(menu bar) History > Restore Pre2020-02-12T23:08:36-08:00jscher2000https://support.mozilla.org/ar/questions/1279733#answer-1289762<p>If these --
</p>
<ul><li> "3-bar" menu button &gt; Restore Previous Session
</li><li> (menu bar) History &gt; Restore Previous Session
</li></ul>
<p>-- are missing or grayed, check either:
</p>
<ul><li> (menu bar) History &gt; Recently Closed Windows
</li><li> "3-bar" menu button &gt; Library &gt; History &gt; Recently Closed Windows
</li><li> "Library" toolbar button &gt; History &gt; Recently Closed Windows
</li></ul>
<p>If that doesn't help...
</p><p>Firefox creates numerous session history files, but because session history is only for the immediately previous session, it is unfortunately too easy to lose it. Could you start by making a backup of your existing session history files? Here's how:
</p><p><strong>(1) To open your profile folder...</strong>
</p><p>You can open your current Firefox settings (AKA Firefox profile) folder using either
</p>
<ul><li> (menu bar) Help &gt; Troubleshooting Information
</li><li> "3-bar" menu button &gt; "?" Help &gt; Troubleshooting Information
</li><li> type or paste <strong>about:support</strong> in the address bar and press Return
</li></ul>
<p>In the first table on the page, Profile Folder row, click the "Show in Finder" button. If Finder shows a folder selected with a name like ab4321cd.default-release then double-click into that folder.
</p><p><strong>(2) Copy out session history files</strong>
</p><p>In your profile folder, double-click into the <strong>sessionstore-backups</strong> folder. Save all files here to a safe location such as your Documents folder.
</p><p><strong>(3) What files did you find?</strong>
</p><p>The kinds of files you may find among your sessionstore files are:
</p>
<ul><li> recovery.jsonlz4: the windows and tabs in your currently live Firefox session (or, if Firefox crashed at the last shutdown and is still closed, your last session)
</li><li> recovery.baklz4: a backup copy of recovery.jsonlz4
</li><li> previous.jsonlz4: the windows and tabs in your last Firefox session
</li><li> upgrade.jsonlz4-<em>build_id</em>: the windows and tabs in the Firefox session that was live at the time of your last update
</li></ul>
<p>Could you take a look at what you have and the date/time of the various files to see whether you think any of them would have the missing tabs?
</p><p>To preview the contents of a file, you can drag and drop it onto this page, then click Scrounge URLs:
</p><p><a href="https://www.jeffersonscher.com/ffu/scrounger.html" rel="nofollow">https://www.jeffersonscher.com/ffu/scrounger.html</a>
</p><p>That tool is on my site, so please let me know if it doesn't work for you.
</p>I'm not sure exactly what is going on with your Firefox. (If this is an emergency and you need to re2020-02-12T23:06:08-08:00jscher2000https://support.mozilla.org/ar/questions/1279733#answer-1289761<p>I'm not sure exactly what is going on with your Firefox. (If this is an emergency and you need to recover older session history files, please see the next reply.)
</p><p>First, there seems to be a difference on Mac that if you close all the windows, Firefox continues running until quit the program, but in that scenario the next starting state is all windows closed instead of the last-closed window being re-opened. I don't know whether there is a general workaround for that other than making sure your main window is open when you choose Firefox &gt; Quit.
</p><p>Second, you can check whether Firefox is still recording session history by looking at the timestamp on the <strong>recovery.jsonlz4</strong> file. You also can back up that file from time to time. Here's where it lives:
</p><p>[profile folder]\sessionstore-backups
</p><p>To open your profile folder, either
</p>
<ul><li> (menu bar) Help &gt; Troubleshooting Information
</li><li> "3-bar" menu button &gt; "?" Help &gt; Troubleshooting Information
</li><li> type or paste <strong>about:support</strong> in the address bar and press Return
</li></ul>
<p>In the first table on the page, Profile Folder row, click the "Show in Finder" button. If Finder shows a folder selected with a name like ab4321cd.default-release then double-click into that folder.
</p><p>Third, as a supplement to the built-in session restore feature, you could consider using a session management extension to store open tabs. These are the ones I'm aware of that you might investigate/try out:
</p><p><em>Use database storage:</em>
</p>
<ul><li> <a href="https://addons.mozilla.org/firefox/addon/tab-session-manager/" rel="nofollow">https://addons.mozilla.org/firefox/addon/tab-session-manager/</a>
</li><li> <a href="https://addons.mozilla.org/firefox/addon/session-boss/" rel="nofollow">https://addons.mozilla.org/firefox/addon/session-boss/</a>
</li></ul>
<p><em>Use bookmark storage:</em>
</p>
<ul><li> <a href="https://addons.mozilla.org/firefox/addon/session-sync/" rel="nofollow">https://addons.mozilla.org/firefox/addon/session-sync/</a>
</li><li> <a href="https://addons.mozilla.org/firefox/addon/my-sessions/" rel="nofollow">https://addons.mozilla.org/firefox/addon/my-sessions/</a>
</li></ul>
<p>Bookmark storage is more robust in that Firefox backs it up regularly. However, having the extra data show up when you are searching your bookmarks may be annoying.
</p>