Recover a kdbx file
Posted: 01 May 2024, 02:57
I have an old laptop that runs Ubuntu. Its partition was full so I tried to extend it.
In a moment of idiocy, I deleted the primary partition. I thought all my files were backed up, so I just re-installed Ubuntu using the whole disk (the rest of it had Windows at one point I think).
Well, turns out that my Keepass password file was not synched up. I pulled the disk out of the laptop and connected it via USB to my deskop and ran PhotoRec on it.
I attempted recovery on the whole disk, using default options, and only selecting the 2 Keepass file extensions (kdb, and kdbx)
I have 17 recovered files, varying in size from a bit over 100 KB to about 37GB. The original file is around 10KB.
I have a couple of other password DBs that are ~ 100KB each.
The versions of the password DB file I need vary in size between ~ 100KB to about 300MB
I'm trying to figure out why the file sizes vary so much, when they are almost identical?
Some of the very large files that were recovered (10s of GB) are unreadable.
Is there anything I can do beyond the basics that can help in this situation? I have the outdated version of the password file if that matters.
I'm running in expert mode (no paranoid, not keeping corrupt files) and it asked me if it should attempt to unformat FAT. I assume this is because the file system is mounted?
I read in the step by step guide that I should select the smallest block size possible, so I selected 512.
Now I see a bunch of i_node directories, and a number of different files in them, not only .kdbx ones, even though that's the only file extension selected in the file options?
Finally, is "brute force" only for JPEGs?
In a moment of idiocy, I deleted the primary partition. I thought all my files were backed up, so I just re-installed Ubuntu using the whole disk (the rest of it had Windows at one point I think).
Well, turns out that my Keepass password file was not synched up. I pulled the disk out of the laptop and connected it via USB to my deskop and ran PhotoRec on it.
I attempted recovery on the whole disk, using default options, and only selecting the 2 Keepass file extensions (kdb, and kdbx)
I have 17 recovered files, varying in size from a bit over 100 KB to about 37GB. The original file is around 10KB.
I have a couple of other password DBs that are ~ 100KB each.
The versions of the password DB file I need vary in size between ~ 100KB to about 300MB
I'm trying to figure out why the file sizes vary so much, when they are almost identical?
Some of the very large files that were recovered (10s of GB) are unreadable.
Is there anything I can do beyond the basics that can help in this situation? I have the outdated version of the password file if that matters.
I'm running in expert mode (no paranoid, not keeping corrupt files) and it asked me if it should attempt to unformat FAT. I assume this is because the file system is mounted?
I read in the step by step guide that I should select the smallest block size possible, so I selected 512.
Now I see a bunch of i_node directories, and a number of different files in them, not only .kdbx ones, even though that's the only file extension selected in the file options?
Finally, is "brute force" only for JPEGs?