Fwd: [b2g] Backups for Firefox OS

Jared Hirsch 6a68 at mozilla.com
Mon Aug 18 15:48:03 PDT 2014

FYI, just saw this. The full thread is on dev-b2g[1].

[1] https://groups.google.com/d/topic/mozilla.dev.b2g/1OUNmQ7ouPY/discussion

Begin forwarded message:

> From: Frederik Braun <fbraun at mozilla.com>
> Subject: [b2g] Backups for Firefox OS
> Date: July 24, 2014 at 5:31:43 AM PDT
> To: dev-b2g <dev-b2g at lists.mozilla.org>
> 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
> dev-b2g at lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g

More information about the Dev-fxacct mailing list