Closed
Bug 1901526
Opened 9 months ago
Closed 8 months ago
Add a backup scheduling mechanism
Categories
(Firefox :: Profile Backup, task, P3)
Firefox
Profile Backup
Tracking
()
RESOLVED
FIXED
129 Branch
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
Details
(Whiteboard: [fidefe-device-migration])
Attachments
(1 file)
This mechanism will be pretty simple to start with, and is modelled after the PlacesBackup bookmarks backup mechanism:
- Not long after startup, scan the
snapshots
(bug 1901523) folder, and find the most recent backup. Cache the backup date in #_state. - After (1), set up an idle observer.
- For each idle, if
browser.backup.scheduled.enabled
istrue
, check if the current timestamp between the last backup and the current time is greater than 1 hour (this difference should be contained in a preference / FeaturesManifest.yaml so we can tweak it). If so, start a backup. Once the backup is done, update the most recent backup timestamp in #_state.
Updated•9 months ago
|
Assignee | ||
Updated•9 months ago
|
Assignee: nobody → mconley
Assignee | ||
Comment 1•9 months ago
|
||
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7302e2035534
Build out backup scheduling mechanism. r=backup-reviewers,kpatenio,sthompson
Status: NEW → RESOLVED
Closed: 8 months ago
status-firefox129:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•