MozillaZine

Talk:Recovering a profile that suddenly disappeared

From MozillaZine Knowledge Base

Related discussion

See Talk:Recovering a missing profile Alice 12:28, 22 August 2007 (UTC)

Corrupt or empty prefs.js

While checking through some bug reports I found the following comment in Bug 205120 - Lost Profile after WIndows Crash


carota 2003-09-05 14:14:07 PDT Comment #12

<snip>

Update #2:

I found my prefs.js content in a recovered file that checkdisk (scandisk?) had put in my C:\FOUND.000 directory. I copied it to my mozilla profile, and all is fine again.

The real question therefore is, how secure is the writing and recovering of prefs.js against random crashes? Could a random crash cause prefs.js to become a "lost chain" that checkdisk might recover and put somewhere else? This is what happened, and this is what caused all the problems.


The fact that the lost fragments of a truncated prefs.js file can be recovered using Chkdsk might be helpful for users who lose their Tbird account settings following a system crash and don't have a prefs.js backup. Chkdsk as a recovery tool was also mentioned in this recent Thunderbird forum thread: Lost Thunderbird settings mails everything...a happy ending. By the way, you can also recover a corrupt bookmarks.html file using Chkdisk - see Lost bookmarks#Other_methods_of_recovery (quote) (Windows) Run the error-checking tool Chkdsk (Windows 2000, XP) or ScanDisk (Windows 95, 98, ME) to see if you can recover any file fragments that contain your lost bookmarks. Look for files with names like FILE0001.chk or FILE0002.chk on the root directory (the files may be inside folders named FOUND.000 or similar). Alice 14:49, 27 August 2007 (UTC)