Opera GX crashed and I lost 100s of tabs, is there a way to recover them?
-
Ibrahim0505 last edited by
I saw some other forum post and followed the directions to:
- go to opera://about
- go to the profile adress
- delete the latest Session_ and Tabs_ files in the Sessions folder
but that didn't work. I saved copies of those files, as well as the .ldb files from Session Storage at the time of the crash in case those can help. The last time this happened I used a website that scraped one of the files for links but I forgot which site. Does anyone have any ideas on how to fix this? Thanks.
-
burnout426 Volunteer last edited by burnout426
I found http://lsauer.net/chrome-session-restore/ that's supposed to restore tabs from corrupted session files.
First, when you're on the page, click the badge at the left of the address field, goto "site settings" and set "popups and redirects" to "allow".
Then, set max to 50 at the bottom of the page.
Then, at the bottom of the page, click "choose file", point it to the Session_XXXXXXXXXXXXXXXXX file that contains your opened tabs. After it's uploaded, click "recently closed" at the bottom of the page.
That should pop up a menu where you can then see all your opened tabs. You can then middle-click each one and open them in tabs in the background. Or, you can choose to open the first 50 all at once (the reason to allow popups).
If you want to set the max as high as you want, before you upload the file, right-click on the max form element and choose "inspect". Then, in the developer tools, you can right-click on the max=50, choose to edit the attribute, delete the text for the attribute and its value, and press enter. Then you can set the max to as high as you want.
You can review the source of script the person uses at https://github.com/lsauer/chrome-session-restore.
I tested all this with a non-corrupted session file and it works as expected. Not sure about a corrupted one.
Note that there might be more opened tabs that you have (some from iframes or something). You can just skip opening them or just close them afterwards.
-
Ibrahim0505 last edited by
@burnout426 Thanks for the link to that website I feel like this is the perfect solution and would work If I had the correct files. When I opened the Session_ file, the website said it contained 0 tabs, but when I opened the Tabs_ file it output tabs that I have opened before, but just ones that I recently closed before the crash. So that leads me to believe I must've grabbed the wrong Tabs_ and Session_ files (which I was sure I grabbed the oldest versions). The only fallback I can think of is if there's a folder that stores old Tab_ and Session_ files in the Opera GX folder. I haven't restarted my computer since the crash so there might be a chance if that exists. I also still have the .ldb files if that may help. Do you think there are any other solutions?
-
burnout426 Volunteer last edited by burnout426
@ibrahim0505 Yes, the Session_ file is for opened tabs and the Tabs_ file is for recently-closed tabs.
The only fallback I can think of is if there's a folder that stores old Tab_ and Session_ files in the Opera GX folder.
Both current and older ones would only be in the "Sessions" folder in the profile folder. I don't know what's in the IndexDB Session Storage files, but you can research that for Chrome and any solution should work for Opera too.
If you haven't tried already, try with any newer Session_ files you have (even the current) just to see what the site says is in them. It's a long shot, but maybe your old tabs are in there and just not accessible where Opera is only using new entries in it. Long short though. You could probably tell about the file size.
When I opened the Session_ file, the website said it contained 0 tabs
What happens if you open the Session_ file you backed up in a text editor? They're be a lot of non-readable stuff, but you should be able to see URLs for your old tabs if they're in there.
-
Ibrahim0505 last edited by
Long short though. You could probably tell about the file size.
That's probably the first thing I should've done, the Sessions_ file I have is only 4KB, and looking into it with the text editor it didn't have anything useful. The problem probably was that I was away from my computer when Opera GX crashed and the Session_ file must've been overwritten by the time I came to try and back them up. My only lead currently is the .Idb files because I think I remember the last time Opera GX crashed there was some thread that had a solution regarding them but for the life of me I can't find it so far. The file is ~2,000 KB and from the few words I can make out, they sound like tabs I might have had open. I'll have to try my best to find something that can make sense of it because most of the file looks like random characters.
I don't know what's in the IndexDB Session Storage files, but you can research that for Chrome and any solution should work for Opera too.
I'll try and do research to see if this is still possible to recover. If not I think sadly the tabs are gone.
-
burnout426 Volunteer last edited by
@ibrahim0505 said in Opera GX crashed and I lost 100s of tabs, is there a way to recover them?:
I'll try and do research to see if this is still possible to recover. If not I think sadly the tabs are gone.
https://www.google.com/search?q=indexdb+viewer might help.
-