hello, I’m stuck in the same situation.
I made diligently daily backup of my ‘moz-extension+++ ____________’ folder.
Now that my laptop hdd has broken I need to use these data to restore.
However, I discovered that simply copy-paste the content of the folder is not sufficient.
In fact, the sqlite files within the folder contains the code of the folder itself.
E.g. in my case there are two folder for MetaMask. For the sake of simplicity and security I report here an example of the folders just created and almost empty:
moz-extension+++ ABCDE12345
moz-extension+++ ABCDE12345^userContextId=987654321
located in:
c/Users/myuser/AppData/Roaming/Mozilla/Firefox/Profiles/myprofile.default-release/storage/default/
the content of the first folder is:
$ ls -lR
.:
total 8
drwx------+ 1 myuser myuser 0 Feb 8 19:02 idb
drwx------+ 1 myuser myuser 0 Feb 8 16:33 ls
./idb:
total 48
drwx------+ 1 myuser myuser 0 Feb 8 18:56 <hidden number><hidden text>.files
-rwx------+ 1 myuser myuser 49152 Feb 8 18:56 <hidden number><hidden text>.sqlite
./idb/<hidden number><hidden text>.files:
total 0
./ls:
total 9
-rwx------+ 1 myuser myuser 6144 Feb 8 16:33 data.sqlite
-rwx------+ 1 myuser myuser 12 Feb 8 16:33 usage
and the content of the latter is
$ ls -lR
.:
total 4
drwx------+ 1 myuser myuser 0 Feb 8 22:13 idb
./idb:
total 96
drwx------+ 1 myuser myuser 0 Feb 8 16:33 <'another hidden number><another hidden text string>.files
-rwx------+ 1 myuser myuser 98304 Feb 8 22:13 <another hidden number><'another hidden text string>.sqlite
./idb/<another hidden number><another hidden text string>.files:
total 0
The problem is this: analyzing these sqlite files, they have inside the DB itself the code ABCDE12345 of the foldername, which is a total mess. So we can’t simply copy-paste the content of my backup in these folders. Neither I can reverse-engineer the DB , nor replace these data. Simply I can’t keep shooting in the dark anymore.
For the sake of the reader: let’s say I have my secret MetaMask password, I have the 24 secret words. This is not the problem.
The problem is losing the bunch of configuration I had in MetaMask: something such as 15+ subaccounts, each with multiple networks and tokens, for a total of 70+.
It would be impossible to rebuild all of it. Without these information most of the value of the wallet is lost.
I made daily backup of the MetaMask data folder, but I didn’t expect it impossible to re-use!
Ouch, it hurts!
Any hint please?