Where does add-on store indexdb files
I have an addon (TextNotes) which I believe stores its data in IndexDB, (which I think is common for the latest apps)
Unfortunately, I accidentally deleted about four years worth of notes! And there is no "undo" on the app. So far,developer has suggested CTRL-Z to undo ...but that is if you do it immediately and not moved to other pages!
IN THEORY, the old data must still be in some sectors on the hard drive, so I installed a file recovery program ... but I've no idea WHAT the file is called, or WHERE it's installed, assuming even that I could copy it from A back to B, and the DB will still work.
Failing that, I have a drive backup, (with about 20 partitions) but again no idea where it is stored, ie in C: drive, or somewhere in moz-Cache. Again, assuming I can 'restore' it my moving it from A to B.
There is an export / import option, so it must be capable of restoring a file ... just a case of finding the actual file, and saving it in the correct format ready to import
NB: I know from the web console, you can open "storage" to view localStorage files ... but that shows IndexDB as blank as I believe Firefox squirrels it away somewhere within its internal coding. So is there a developer option to view those files saved internally?
Additional System Details
- User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0
Hi cristofayre, the IndexedDB files are stored in your currently active profile, under
This article will help you access your profile folder: Profiles - Where Firefox stores your bookmarks, passwords and other user data.
The specific folder name might be specific to your system. You can open the about:debugging page to find the Internal UUID for the extension. For example, let's says it starts with 12345. You would look for folders whose names start with:
Can you find those same folders in your backup? If you are exploring from the Users folder, you'll need to set Windows to show hidden files and folders to drill down into AppData\Roaming: https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files
Another potential source of copies of the file would be a restore point. Do NOT use Windows system restore!! That usually destroys more data than it recovers. However, you can use a utility program to drill down into the last restore point to export those moz-extension folders. Check out the following post for the method:
Firstly, thanks for your response. This is just a quick note to say that I've not had time to delve into those potential solutions yet; I didn't want you to think I was simply ignoring you. Will post more constructive comments later
I finally had time to try those suggestions, to look into the system created backup points. Could only find one ... dated March 2018 ! Alas, all these moz-extensions are in SQLite format ... and I would have no idea how to use this data. (I think the program itself imports / exports as XML ... but now I can't even find those buttons within the program)
Now I know the 'general' place to look, I'll try the "Easeus Recovery" program in the roaming --> moz-extension area of the C: drive to see if it can unearth any recently deleted files ... but even if it does find them, doubtful I can do anything with them directly.
In short, think I'm on a "hiding to nowhere"