Open Bug 1897519 Opened 5 months ago Updated 5 months ago

Move staging folder work into a subfolder of `backups` called something like `snapshots`

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

People

(Reporter: mconley, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-device-migration])

In bug 1897278, I made it so that encryption state is persisted to disk if encryption is enabled. That state is written to the backups profile folder, and I had to patch the code that clears out old staging folders to avoid deleting this state file.

That seems like a little bit of a footgun. I think it might be safer if we move all of the volatile work for staging and storing backup snapshots under backups/snapshots, and let anything that needs to be permanent live under backups.

You need to log in before you can comment on or make changes to this bug.