Open Bug 1900125 Opened 5 months ago Updated 4 months ago

Confirming settings in "Turn on backup" dialog should immediately run the first backup

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

People

(Reporter: kpatenio, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-device-migration])

We need to create the first backup the moment settings is turned on/enabled. This means:

  1. Calling BackupService.createBackup once the "confirm" event is propagated from turn-on-scheduled-backup to the UI actors and finally to BackupService. BackupService.createBackup will generate all necessary BackupResource files in the backup folder located in the current profile.
  2. Once staging is done, the actual save location - either Documents or another folder chosen by the user - will hold the archive file itself containing all details about a backup, like the manifest, BackupResources and encryption state. This will be done via BackupService.createArchive (see Bug 1897498).

Other notes:

  • What if we are waiting for idle to run the backup? The general requirement is to not slow down the user experience, therefore we if must wait for idle, then we should do so.
Severity: -- → N/A
Depends on: 1897498
Priority: -- → P3
Whiteboard: [fidefe-device-migration]
You need to log in before you can comment on or make changes to this bug.