Closed
Bug 1888446
Opened 3 months ago
Closed 2 months ago
Implement `recover` for PlacesBackupResource
Categories
(Firefox :: Profile Backup, task, P3)
Firefox
Profile Backup
Tracking
()
RESOLVED
FIXED
127 Branch
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: mconley, Assigned: kpatenio)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-device-migration])
Attachments
(1 file)
This should move the relevant items from the recovery folder into the right places in the newly created user profile directory.
Updated•3 months ago
|
Reporter | ||
Updated•3 months ago
|
Severity: -- → N/A
Priority: -- → P3
Copying Mike's comment from here:
During recovery, if we find a places.sqlite and favicons.sqlite in the recovery folder, we know that we can skip reading in the bookmarks backup file. Otherwise, we'll attempt to import the bookmarks backup file into a newly created places.sqlite after the recovered profile is launched.
We can backup bookmarks using BookmarkJSONUtils.exportToFile. In the recovery state, we probably want to call BookmarkJSONUtils.importFromFile and pass in the bookmarks JSON file that we create in the backup.
Depends on: 1885609
Pushed by kpatenio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b7267d41be4c implement recover for PlacesBackupResource. r=backup-reviewers,places-reviewers,mconley,Standard8
Comment 4•2 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox127:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•