@burnout426
Ahoy burnout!
Aye thanks again man for this post and the other one showing me how to restore from the session file. It was right on time because I was trying another (I better not all cap that for emphasis I might get banned again) tab extension that doesnt seem to work properly.
https://addons.opera.com/en/extensions/details/save-tabs/
This thing started closing down all my tabs while freezing opera every couple seconds. I tried to stop it but every time opera would unfreeze it would close a couple more tabs. I eventually had to ctrl+alt+delete and force close the Opera process. I had recently saved my tab session having read your previous post here
https://forums.opera.com/topic/68959/where-are-opera-tabs-and-tab-groups-stored
One thing to note is that you can not save the current session file while Opera is running. That file is locked somehow and you cant do anything to it. You can only save the previous two session files. One of those files should be an exact copy of the current session so it should be ok. There are normally three there including the current one from what I have seen. I saved away both the Session_ and the Tabs_ files earlier that day.
I restored those files from backup and all the tabs came back but I couldnt see the webpages themselves. It seemed like opera was still partially frozen. I think it was something weird with the previous crash. There was also an opera update waiting. So I launched the update, restarted Opera and then the tabs restored from the backup session. That happened just last night so I can mostly confirm that restoring those session files should work.
So yea go to opera://about and it will give you the path of your opera folder. Go there, then the Default folder, and in the Default folder the Sessions folder. Note that you want the Profile path or the one that says "roaming" in the path, not the one that says "local". On my machine (I use opera next also called opera beta) this path was
C:\Users\ [username] \AppData\Roaming\Opera Software\Opera Next\Default\Sessions
I put the Session_ files and the Tabs_ files in a folder named opera.tab.backup.6.20.2024. I also moved that folder into a separate directory in case something goes wrong with opera and it over-writes the directory somehow. I figure if you backup like that periodically you will not have to worry about catastrophic data loss, only the tabs you opened since the last backup, which sucks but is more reasonable than losing everything. So save the session whenever you are doing something important and that seems like it should save you from catastrophic data loss.
Also I see a couple tools that might be able to read the snss session files. It would be really nice if that file was in plain text so that if I wanted to, for example, go through all of my many tabs and pick and choose which to close with checkboxes I could do so. Doing this through the UI tab interface is slow, clunky, and difficult. I would like a page where I can scroll through a long list of my tabs and see the title of the page, the URL, and an optional screenshot of the webpage itself. And from there I can click a checkbox and close multiple tabs at once instead of one by one. I wouldnt mind that on the speed dial under the news. Most other solutions only give the option to close all tabs or leave them all open which is why there tends to be so many open. There is no reasonable way to directly manage this.
The best solution I have found otherwise is the Easy Tab Manager extension located here.
https://addons.opera.com/en/extensions/details/easy-tab-manager/
It shows the entire list of tabs by name, you can hold control and click on multiple tabs you want to close, and then close maybe 5-10 at once instead of painfully scrolling around and closing them one by one. However if you try to close a lot like 20-50 at a time it might freeze on you and just not close anything.
Yea I think its kind of unreasonable that the official stance on tab management is "just close all those tabs and shut up." While the developers spend a huge amount of time rounding off all the corners, and with the recent update putting emoji's on the top of every tab wtf? Tab islands were a decent idea, but never worked right and scrolled your tab list around automatically making you lose your current tab position. Which is a big problem when you have a lot of tabs open. "Ctrl ~" will go back to the previous tab, but sometimes you need more functionality than this.
Not perfect, but at least now you can avoid catastrophic data loss.
Good luck!