There are various topics on the subject with sometimes many replies that make it hard to find useful instructions.
One important point of note is that this process assumes the crash was due to something that didn't corrupt the previous session files, and that they still exist in the relevant folder.
Here I would like to record the steps that I took to restore my many, many, many open tabs.
Without closing Opera after the crash Open the sessions folder for your user profile
The opera://about page will tell you the location of your user profile. Go there in Explorer and then look in the
For me it was in
C:\Users\Juan\AppData\Roaming\Opera Software\Opera GX Stable\Sessions.
If you caught the crash in time you should see at least 2 versions each of a
Take note of the various timestamps, they should correspond between each pair of files
In my case the following files are what I see after completing this restoration process, but initially there were 2 files each, one pair with the timestamp
13300879778116338and expected larger file sizes (
9 065 KB&
465 KB) and the other pair with the timestamp
13300889583051312, which were the new session files created after the crash and each in the region of 10's to 100's of KB small.
I also took the precaution of copying the older files to another folder, just in case...
Open Windows Registry Editor
Take note of the
Stable Last Running Timetimestamp.
The number I saw at the time was bigger than the crashed session's
13300879778116338and smaller than the new session's
Rename the old files with the newer timestamps.
Select the newer
F2to edit the file name, copy the name with the newer timestamp to clipboard.
Delete the newer file.
F2and rename the older
Sessionfile with the newer value in the clipboard.
Repeat with the
Open Opera and hope for the best!
Renaming the older files from before the crash to the timestamp of the new files after the crash meant that Opera saw my files as being newer than when it crashed, and it then opened all my old windows and tabs like nothing had happened.