Closed Bug 1885955 Opened 3 months ago Closed 2 months ago

[meta] Allow for recovering from a `recovery` folder within `backups` into a newly created named profile

Categories

(Firefox :: Profile Backup, task)

task

Tracking

()

RESOLVED FIXED

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.

Depends on: 1888436
Depends on: 1888440
Depends on: 1888442
Depends on: 1888444
Depends on: 1888445
Depends on: 1888446
Depends on: 1888447
Depends on: 1888448
Depends on: 1890297
Depends on: 1890574
Depends on: 1891596
Depends on: 1892105
Depends on: 1892312
Depends on: 1892335
Depends on: 1892479
Depends on: 1892304
Depends on: 1892771
Depends on: 1893650
Depends on: 1894004
No longer depends on: 1893650
No longer depends on: 1894004

All dependencies closed. We're done here.

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.