[meta] Allow for recovering from a `recovery` folder within `backups` into a newly created named profile
Categories
(Firefox :: Profile Backup, task)
Tracking
()
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: meta)
In this metabug, we'll work to build out a recovery mechanism for the items stored within a single file archive. Note that the single file archive construction hasn't fully been fleshed out just yet, so we're starting from the other end, and pretending like we've decompressed a single file archive inside of backups/recovery in the user profile directory. The structure of the recovery folder should be an exact replica of staging when the backup was created.
We will then create a new named profile, and have each BackupResource copy the items from recovery into the new named profile. Some processing might need to occur after these copies are made for the new profile.
We will also write a recovery-info.json somewhere into the newly created profile directory (perhaps backups/recovery-info.json) which, after profile startup, will be read in by BackupService to do any final post-processing and Telemetry send-off after a recovery has completed.
We're only going to build out minimal placeholder UI during this metabug. Proper UI for managing and recovering from backups will be built out in a later metabug.
| Reporter | ||
Comment 1•1 year ago
|
||
All dependencies closed. We're done here.
Description
•