Getting very large SQLite files when trying to recover

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
nedr
Posts: 1
Joined: 30 Oct 2013, 11:15

Getting very large SQLite files when trying to recover

#1 Post 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.

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Getting very large SQLite files when trying to recover

#2 Post 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.

Locked