• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    How I restored lost tabs after crash using previous session files (OperaGX version 87)

    Opera GX
    3
    6
    3491
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 03juan
      03juan last edited by leocg

      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.

      1. 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 Sessions folder.
        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 Sessions_[timestamp] and Tabs_[timestamp] file.

      2. 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 13300879778116338 and 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.
        fdfc7333-3aa5-4bac-b9b4-c0fa2e8170a3-image.png
        I also took the precaution of copying the older files to another folder, just in case...

      3. Open Windows Registry Editor
        Press Win+R and run regedit.exe
        Navigate to Computer\HKEY_CURRENT_USER\Software\Opera Software
        f982c56f-62be-4530-80cf-d0998166046c-image.png
        Take note of the Stable Last Running Time timestamp.
        The number I saw at the time was bigger than the crashed session's 13300879778116338 and smaller than the new session's 13300889583051312

      4. Rename the old files with the newer timestamps.
        Close Opera.
        Select the newer Session file, press F2 to edit the file name, copy the name with the newer timestamp to clipboard.
        Delete the newer file.
        Press F2 and rename the older Session file with the newer value in the clipboard.
        Repeat with the Tabs file.

      5. 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.

      Good luck!

      Reply Quote 3
        hellffer 1 Reply Last reply
      • hellffer
        hellffer @03juan last edited by

        @03juan and if i already close the Opera after crash?

        Reply Quote 0
          03juan 1 Reply Last reply
        • 03juan
          03juan @hellffer last edited by

          @hellffer Check the sessions folder and see if there are files there like I mentioned. If I remember correctly my instructions were from opening opera again after the crash, where it made new session files but didn't delete the older ones. Sorry if that wasn't clear. Good luck 🤞!

          Reply Quote 1
            hellffer 2 Replies Last reply
          • hellffer
            hellffer @03juan last edited by This post is deleted!
            Reply Quote 0
              1 Reply Last reply
            • hellffer
              hellffer @03juan last edited by hellffer This post is deleted!
              Reply Quote 0
                1 Reply Last reply
              • miqi95
                miqi95 last edited by

                I was able to recover my lost tabs after a crash without having to open regedit etc.

                1. Leave Opera open after post-crash restart. DO NOT CLOSE IT OR YOUR TABS ARE (probably) LOST.
                2. Navigate to your profile folder indicated at opera://about
                3. Open Opera Stable/Sessions folder, you'll see the 2 Session_######### files (the older one likely much larger than the new one)
                4. Make 2 copies of the older, larger session file, rename to "backup_session" or whatever just in case
                5. Copy the filename of the newer Session file to your clipboard
                6. Close Opera
                7. Rename one of your 2 backup files to the filename on your clipboard
                8. Open Opera and all your tabs should be back!

                I hope this helps people! Too bad there isn't an easier way to do this from in the UI, but it sure beats copying and pasting URLs from the files themselves which I've done a few times over the years with Opera.

                Reply Quote 0
                  1 Reply Last reply
                • Locked by  leocg leocg 
                • First post
                  Last post

                Computer browsers

                • Opera for Windows
                • Opera for Mac
                • Opera for Linux
                • Opera beta version
                • Opera USB

                Mobile browsers

                • Opera for Android
                • Opera Mini
                • Opera Touch
                • Opera for basic phones

                • Add-ons
                • Opera account
                • Wallpapers
                • Opera Ads

                • Help & support
                • Opera blogs
                • Opera forums
                • Dev.Opera

                • Security
                • Privacy
                • Cookies Policy
                • EULA
                • Terms of Service

                • About Opera
                • Press info
                • Jobs
                • Investors
                • Become a partner
                • Contact us

                Follow Opera

                • Opera - Facebook
                • Opera - Twitter
                • Opera - YouTube
                • Opera - LinkedIn
                • Opera - Instagram

                © Opera Software 1995-2025