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

Allow "Current Session" to be read in order to backup it

  • Problem:
    Sometimes Opera or OS crashes and "Current Session" file become destroyed. Upon restarting Opera "Last Session" file is being overwritten with corrupted "Current Session" and there is only one way to recover the session: backup. Btw, if you have not performed any backups you can still try running cmd with admin rights and check if there are any shadow copies with

    vssadmin List Shadows

    If you see something similar to

    >vssadmin List Shadows
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2013 Microsoft Corp.
    Contents of shadow copy set ID: {137d3b2f-865b-4e62-bbcb-a1a742c60d53}
       Contained 2 shadow copies at creation time: 28.04.2019 14:31:06
          Shadow Copy ID: {58f0a54d-5639-41ae-a52e-383e2a58f7a6}
             Original Volume: (C:)\\?\Volume{01f97982-ed95-4dc0-a06a-942a90a96585}\
             Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy7
             Originating Machine: ou
             Service Machine: ou
             Provider: 'Microsoft Software Shadow Copy provider 1.0'
             Type: ClientAccessibleWriters
             Attributes: Persistent, Client-accessible, No auto release, Differential, Auto recovered

    you might be lucky as you can create a junction to a read-only shadow copy and check if a "Last Session" from that shadow copy can be used. Junction is created with the following command (last slash is important):

    mklink /J C:\Users\opera_user\Desktop\C_Backup \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy7\

    Good solution:
    Automatically backup "Last Session", Although this solution is better than having not backups at all, it does not prevent losing tabs from current session. Oftenly session can last days or even weeks.

    Even better solution:
    Backup "Current Session" file. Unfortunately it is locked even for reading while Opera is running. The suggestion is to allow "Current Session" to be read in order to backup it.

  • Just checked Vivaldi browser. It has the same issue. Seems to be Chromium issue. Is this bug or feature?

  • Am I the only one geek who is interested in backup?

  • Users hate when they lose their session and they lose all opened tabs. So, I think there's a lot of users that want this.

  • It would be nice to have inside whether or not session file can't be read intentionally.

  • The issue still exists. May be someone is able to develop the extension that will solve the issue?