Closed
Bug 1891596
Opened 3 months ago
Closed 2 months ago
Add `recoverFromBackup` to BackupService
Categories
(Firefox :: Profile Backup, task, P3)
Firefox
Profile Backup
Tracking
()
RESOLVED
FIXED
127 Branch
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
Details
(Whiteboard: [fidefe-device-migration])
Attachments
(1 file)
This method should have the following signature:
/**
* Creates a new named profile and processes a decompressed backup
* that exists at recoveryPath. The backup is then recovered into a the
* newly created profile.
*
* @param {string} recoveryPath
* The path on the file system where the backup has been decompressed.
*/
async recoverFromBackup(recoveryPath) {
}
For each folder inside of the backup, the appropriate BackupResource
should be instantiated, and recover
called on it (see bug 1888436). Resources that do not implement recover
will throw, and recoverFromBackup
should log and handle that like the backup
case.
This method shouldn't try to launch the newly created profile.
Updated•3 months ago
|
Assignee | ||
Updated•2 months ago
|
Assignee: nobody → mconley
Assignee | ||
Comment 1•2 months ago
|
||
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91e1779d2633 Add initial recoverFromBackup method to BackupService. r=backup-reviewers,kpatenio
Status: NEW → 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
•