Saving last two (or 3) sessions in place of one, as a backup against accidents


If one opens a page in a new window, then by accident closes the original session while the single page is open, he loses the session; with two last sessions saved, this can be avoided

@Saieb

On my Mac, Brave Browser maintains the present session and the previous session, within the ‘Sessions’ folder that is within my BB user profile’s data folder, named: ‘Default’

  • /Users/username/Library/Application Support/BraveSoftware/Brave-Browser/Default

  • Session file example: “Session_13387619522050810” [ it is an SNSS file ]

NOTE:

Re Session_13387619522050810 ← the long string of numbers are a date-and-time stamp. On a MacOS computer, the following command (date -r 13387619522050810) will reveal: Thu Apr 6 12:40:10 EST 424238744

If backing up BB user data as a routine, and with BB not running, apparently you can copy a backed up Session_… or Tabs_… file from the backed up Sessions folder, into the currently used Sessions folder . . . and thus obtain/restore?/←- usage? . . . of a Session or Tabs.

I have not tested that.

Re SNSS type of file - that is useful for maintaining data coordination / equivalency / matching / “something like that” via sync operations.