Page 1 of 1

Getting very large SQLite files when trying to recover

Posted: 30 Oct 2013, 11:30
by nedr
I accidentally overwrote my HDD while trying to install Ubuntu. Thanks to TestDisk (BIG thanks!) i got pretty much all the files in my Data partition. When trying to access my windows (C: drive partition), testdisk crashes. (I guess the C: drive was the part that got over written).

So I just want to recover the firefox history from the c: drive (which i believe are stored as .SQLite files. When I tell photorec to recover .SQLite files though it writes out very large (500MB -4GB) files which i certainly didn't have, causing HDD to run out of space.

My question is how can i recover the correct files from these large files. If my HDD had enough space will Photorec complete the process and get the correct-sized SQLite files?

Thanks,
nedR.

Re: Getting very large SQLite files when trying to recover

Posted: 02 Nov 2013, 10:41
by cgrenier
nedr wrote:I accidentally overwrote my HDD while trying to install Ubuntu. Thanks to TestDisk (BIG thanks!) i got pretty much all the files in my Data partition. When trying to access my windows (C: drive partition), testdisk crashes. (I guess the C: drive was the part that got over written).
Can you send me the backtrace ?

Code: Select all

gdb ./testdisk_static
run
when testdisk crashes, type "bt full"
nedr wrote: So I just want to recover the firefox history from the c: drive (which i believe are stored as .SQLite files. When I tell photorec to recover .SQLite files though it writes out very large (500MB -4GB) files which i certainly didn't have, causing HDD to run out of space.

My question is how can i recover the correct files from these large files. If my HDD had enough space will Photorec complete the process and get the correct-sized SQLite files?
PhotoRec doesn't detect the end of sqlite files. It stops the recovery of a file when a new one is detected. To avoid to get very large files, do not disable the other filetypes.