automatic profile backup tool constantly generating new backups
Categories
(Firefox :: Profile Backup, defect, P2)
Tracking
()
People
(Reporter: bugzilla, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [fidedi-ope])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:153.0) Gecko/20100101 Firefox/153.0
Steps to reproduce:
Enabled new automatic profile backup tool (Settings > Account & Sync > Backup).
Actual results:
In the last hour I have seen 17 new backups (replacing each other).
Although I only see one profile backup at a time in the specified backup directory, I am running Proton Drive, which automatically backs changes in my files to the cloud, and its log shows constant new profile backups being uploaded (see attached).
Expected results:
Not sure -- what is supposed to trigger a new backup???
Comment 1•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Profile Backup' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•4 months ago
•
|
||
hey Chris, a bunch of different things can trigger backup creation - it's most probable some kind of history change that is causing it to create new ones - it should only be happening when your browser is idle though. Do you have any extensions which might be mutating history state
(In reply to Harshit Sohaney [:hsohaney] from comment #2)
hey Chris, a bunch of different things can trigger backup creation - it's most probable some kind of history change that is causing it to create new ones - it should only be happening when your browser is idle though. Do you have any extensions which might be mutating history state
Not OP but I can trigger a backup process repeatedly by deleting cookies in at least 3 different ways:
- Closing a private window after visiting some particular sites. Bug is triggered on https://www.google.com/ and https://www.youtube.com/ but not https://www.reddit.com/ for some reason.
- Firefox Settings > Privacy and Security > Clear browsing data >
Cookies and site data. - (Auto)Deleting cookies by extension Cookie AutoDelete. (most problematic for me)
Steps to reproduce for Cookie AutoDelete
- In a new profile, install Cookie AutoDelete (CAD). (https://addons.mozilla.org/firefox/addon/cookie-autodelete/). Keep CAD's settings as default.
1a. [Optional] Put the extension icon on the toolbar for easier access. - Turn on Firefox's Backup. Make a note of the time and filename of the backup file.
2a. [Optional] Leave the Settings page on for later reference. - Open a few new tabs to a few different domains that are not whitelisted in CAD (none by default anyway). I used those available from about:home.
- Close those tabs (make sure not to close the entire browser accidentally)
- Trigger a cookie delete by clicking CAD's icon ->
Clean. A notification should pop up stating that some cookies were deleted by CAD. - Go back to Firefox's Settings -> Backup and wait for the bug to be triggered.
- [Optional] Repeat step 3-6 to trigger a new backup repeatedly.
Actual result
Shortly after deleting cookies by CAD, or the other 2 means, a new Firefox backup process will be created.
Moreover, CAD can be set to auto-delete cookies 15 seconds after closing a non-whitelisted tab. This will trigger a backup constantly depending on the browsing habit. (Even without CAD, a user using private windows a lot will also trigger the bug.)
My backup file for my main Nightly profile is about 570MB large. It takes over a minute to create a new backup file every time. In addition, Win11's Microsoft Windows Search Indexer will run for a long time after every backup, presumably trying to index the new, and large, .html backup file.
My system:
Win11. Latest Nightly (2026-07-27)
| Reporter | ||
Comment 4•4 months ago
|
||
I use CAD, so that probably explains what I see.
Comment 5•4 months ago
|
||
Thanks for the info! We're going to explore fixing this - but its challenging. Right now, we trigger backups for any change to your places data (history, bookmarks etc.) so that backups are always up to date. We wouldn't want to restore a bad backup with sites the user probably didn't want in there.
But this seems excessive, lets see what we can do. Tagging David for tracking purposes.
Updated•4 months ago
|
Updated•4 months ago
|
Updated•3 months ago
|
Comment 6•1 month ago
|
||
I've noticed this issue occurring after updating to 157.0.
I updated to 157.0 on Wednesday the 30th of September. This correlates with a sharp uptick in backup frequency, from one or two a day before to one every few minutes now.
This can be observed in my OneDrive recycle bin's listing of deleted files. (See attached image.)
This machine is on Windows 11. The only extension I have installed is uBlock Origin.
I don't automatic cookie/history deletion set up, though I did have privacy.clearHistory.formdata (via Remember search and form history) set to true. After changing the History setting to "Remember History" and restarting Firefox, I still observe this rapid backup creation.
Anecdotally it seems to be making a new backup whenever I'm idle if there have been any history changes, even just navigating between pages.
Comment 7•1 month ago
|
||
I have same problem, Firefox constantly generates and overwrites backups, even though in settings minimal interval is set to 86400s. As written above, it makes my Onedrive constantly uploading and deleting the file.
As for comments above, I don't know how deleting cookies can interfere with clearly set last timestamp and minimal interval since that timestamp to create a new backup.
Anyway, it is really annoying. Has anybody solved at least partial workaround for this?
Comment 8•1 month ago
|
||
It is happenning at least since version 156 for me. On 157.0.1, time between backups variates between 3 and 20 minutes.
Comment 9•1 month ago
|
||
Acknowledging the additional reports here. I am taking a fresh look at a fix or change in this area.
Description
•