backup prefs.js
Categories
(Thunderbird :: General, enhancement, P5)
Tracking
(Not tracked)
People
(Reporter: cedric, Unassigned)
References
Details
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
| Reporter | ||
Comment 3•14 years ago
|
||
Comment 4•13 years ago
|
||
| Reporter | ||
Updated•12 years ago
|
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Comment 7•10 years ago
|
||
Magnus, this is a very old request for enhancement that seriously affects the product and usability for enough users that it needs a response. Can it, or some other data integrity/ preservation approach be prioritised for inclusion into Thunderbird next? Wada's comments from 8 years ago would indicate that a fix the created a backup in case of failure would be achieved with only a modification to the rename and replace if exists API call.
Comment 9•4 years ago
|
||
Problems with the pref file doesn't seem all the common. I think the code is around here: https://searchfox.org/mozilla-central/rev/1a47a74bd5ba89f2474aa27c40bd478e853f3276/modules/libpref/Preferences.cpp#2943
Also, just creating a backup file doesn't really help too much, since very very few users would find that and know what to do.
Comment 10•4 years ago
|
||
Who said the user needs to find it... if the last loaded profile is not able to load because of issues with the prefs.js the application should just load it, or offer the user the option to restore their settings from a last known good backup.
It is not common, except it is. Usually it is caused by network issues, remote storage of the profile or even cloud storage of the profile data. What is being seen in support is ever-increasing levels of users losing data because of either lose of their profile (profile per install is still not right) or loss of/ corruption of the last prefs.js. All it takes is a power loss while the file is being rewritten. But if firefox can make and restore a tabs backup, surely in the absence of sync that might restore the file we need to be proactive in maintaining data integrity and accessibility.
Comment 11•4 years ago
|
||
Feedback Information
The numerous prefs files cause various problems.
There are regular Support Forum requests for help with various issues which turned out to be due to prefs.js - sometimes manually replacing with a prefs-n.js - sometimes needing to just delete the massive numbers to prevent crash like shut downs.
Some examples of Issues reported in the Support Forum:
https://support.mozilla.org/en-US/questions/1319877
https://support.mozilla.org/en-US/questions/1331108
https://support.mozilla.org/en-US/questions/1293933
https://support.mozilla.org/en-US/questions/1324156
https://support.mozilla.org/en-US/questions/1324267
https://support.mozilla.org/en-US/questions/1280774
Perhaps the worst case of large numbers of prefs files:
"I discovered I had 10,001 files called prefs-xx.js. "
https://support.mozilla.org/en-US/questions/1296150
"Oh my goodness. There are is a pref.js file and 9999 pref-nnnn.js files."
https://support.mozilla.org/en-US/questions/1304651
prefs-1.js to prefs-9999.js
https://support.mozilla.org/en-US/questions/1357069
I periodically check profile name folder for excessive prefs files - few have a zero zize - sometimes more than one created in same day, but I remove older ones when it gets to double numbers and rename newest to prefs-1.js - you never know when you might need it.
It's not an area people tend to check, but I suspect there are plenty of people with several copies of prefs, but they are unaware of it.
Updated•3 years ago
|
Updated•1 year ago
|
Comment 13•1 year ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #9)
Problems with the pref file doesn't seem all the common. I think the code is around here: https://searchfox.org/mozilla-central/rev/1a47a74bd5ba89f2474aa27c40bd478e853f3276/modules/libpref/Preferences.cpp#2943
Also, just creating a backup file doesn't really help too much, since very very few users would find that and know what to do.
This is why there needs to be a 'friendly recovery option' for non-expert (i.e for the majority) of users. 'Restart using the recent backup of your Preference file'.
Description
•