Hi list, I am planning to spend a bit of my Q3 time to sketch out how to do proper backups for Firefox OS. I can't believe nobody else has already looked into this, so I'm looking to synchronize with you :)
I guess most people currently either use the backup_restore_profile.sh from the TWQA team[1] or pull selective files [2]. Which is sort-of reliable as long as you don't move to previous versions[3]. I had a small chat with Fabrice last week and we thought about data exfiltration and serialization. But doing that in a storage agnostic way (for session/localeStorage, IndexedDB and what not) for every app could be very cumbersome. Even more so if this would mean for the backup service to execute script in arbitrary apps[4]. But let's step back for a moment and think about use cases. * back-up the whole system. i.e., everything that is required to do a full recovery from whatever broken state the phone is in. * all apps and settings, not the system. * apps selectively? (this might conflict with the intent not to execute scripts within other apps. Or maybe through a "give me your backup data"-call the app is responsible to support?) Maybe you can up with some more? Thanks, Freddy [1] <https://github.com/Mozilla-TWQA/B2G-flash-tool/> [2] What I've seen so far is "adb pull /data/local; adb pull /data/b2g; adb pull /system/b2g/webapps" [3] IndexedDB schemas usually don't go back. [4] This is a security nightmare. We really don't want to go there. _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
