Using older .ldb file

330 views
Skip to first unread message

Zamar Ac

unread,
Feb 11, 2025, 11:40:55 AM2/11/25
to Session Buddy Discussion
My Edge browser just updated, and Session-Buddy probably too, resulting in ignoring previous .ldb collections databse, and creating a new one with the last session restored.

I tried to replace the new .ldb file with the old one which contains all collections, but a new .ldb file is created at Edge restart, and the prior collections file remains inaccessible. Pls explain, how to replace the last Collection .ldb with the prior .ldb, or otherwise import the prior Collections?

Zamar Ac

unread,
Feb 11, 2025, 11:59:37 AM2/11/25
to Session Buddy Discussion
To clarify, Session-buddy was auto updated from V4 prior version. There are no Edge Developer Console errors.

Session Buddy Support

unread,
Feb 11, 2025, 1:46:42 PM2/11/25
to sessionbud...@googlegroups.com
You'll need to replace the entire IndexedDB folders.

See the following for more info (restore instructions are at the bottom of the page):

Hans


On Tue, Feb 11, 2025 at 9:41 AM Zamar Ac <zam...@gmail.com> wrote:
My Edge browser just updated, and Session-Buddy probably too, resulting in ignoring previous .ldb collections databse, and creating a new one with the last session restored.

I tried to replace the new .ldb file with the old one which contains all collections, but a new .ldb file is created at Edge restart, and the prior collections file remains inaccessible. Pls explain, how to replace the last Collection .ldb with the prior .ldb, or otherwise import the prior Collections?

--
You received this message because you are subscribed to the Google Groups "Session Buddy Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sessionbuddy-dis...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sessionbuddy-discuss/2e511eda-eb81-4373-a010-831f2f5ab3d5n%40googlegroups.com.

Zamar Ac

unread,
Feb 11, 2025, 2:02:53 PM2/11/25
to Session Buddy Discussion
The "replace" suggestion can't work, because the only available IndexedDB folder is the current one. It appears that a new IndexDB folder was created upon Session Buddy auto update, and the old such folder nowhere found. I guess, the new files were simply added to that folder while replacing older files. Some of them are marked with .old extension, but the prior .ldb file remained unchanged, yet no longer used by your extension. Its either an update bug, or possibly result of Edge & system crash. Can you update your Import tool to allow import of the .ldb files as well, not only json files? Or suggest a workaround pls.

Zamar Ac

unread,
Feb 11, 2025, 2:11:21 PM2/11/25
to Session Buddy Discussion
In addition, it looks like every time Edge starts, old content is purged from the IndexDB folder, so I checked now and the .old files are no longer there. However, I still have a backup .ldb file of 1.5MB presumably with all my Collections info. Errors occur with any app, so I suggest to implement auto backup feature for daily collections backup to a chosen by user backup folder. Not a minor thing given all that time required to get relevant to each topic of interest websites together in 1 collection, or 20-50 collections.

Session Buddy Support

unread,
Feb 11, 2025, 2:36:56 PM2/11/25
to sessionbud...@googlegroups.com
FWIW, Session Buddy hasn't been updated since June.

.ldb files can't be read independently, unfortunately, so importing them isn't possible.

If you want to send the .ldb file to sup...@sessionbuddy.com, I can take a look and try to restore it. Might be best to just zip the data folders and send everything.

> I suggest to implement auto backup feature ... to a chosen by user backup folder

This isn't possible with a web app, unfortunately. Saving to the file system outside of the browser's purview requires user intervention. OPFS could be used for auto-backups but that won't save you when the browser profile gets corrupted or reset, which sounds like what might have happened. The only way to account for data loss risks related to browser bugs, crashes, quotas, etc is to store data in the cloud, which is a feature we're working on.

Hans


Zamar Ac

unread,
Feb 12, 2025, 12:48:29 PM2/12/25
to Session Buddy Discussion
I found some tools that may be helpful to  convert .ldb to json format, or recover its content, but I'm not a programmer to use them easily.
There are also many other webpages found on that topic. Do you think that stuff is useful in any way?

Session Buddy Support

unread,
Feb 12, 2025, 1:14:19 PM2/12/25
to sessionbud...@googlegroups.com
It could be useful and there's probably a way, but I haven't been able to find anything straightforward that doesn't require a significant investment of time. I've also read that Chrome's IndexedDB use of LevelDB requires additional hoops/challenges in reading making it practically difficult or impossible, but I haven't validated that claim.

Hans


Reply all
Reply to author
Forward
0 new messages