How do I restore my calendar from backup?
I used the instructions at: http://stackoverflow.com/questions/23598878/firefox-os-back-up-and-restore-user-data to backup my phone. I'd like to restore my SMS and Calendar data. I think I ought to be able to do that with:
adb push local/storage/default/1001+f+app+++sms.gaiamobile.org /data/ adb push local/storage/default/1010+f+app+++calendar.gaiamobile.org /data/
But that doesn't seem to do anything. Not even on restart. The appears to work -- I see this in response to the command:
push: local/storage/default/1001+f+app+++sms.gaiamobile.org/idb/3350367306aesgyanrcoSt.sqlite -> /data/idb/3350367306aesgyanrcoSt.sqlite
push: local/storage/default/1001+f+app+++sms.gaiamobile.org/idb/3350367306aesgyanrcoSt.sqlite-journal -> /data/idb/3350367306aesgyanrcoSt.sqlite-journal
push: local/storage/default/1001+f+app+++sms.gaiamobile.org/.metadata -> /data/.metadata
3 files pushed. 0 files skipped.
243 KB/s (38981 bytes in 0.156s)
but neither my calendars nor my sms messages are present on my phone, even if I reboot. What am I missing here?
I'm running b2g 2.2, the backups are also from b2g 2.2
All Replies (5)
Try: adb.exe pull /data/local local adb.exe pull /data/b2g b2g
The initial command may differ depending on the OS you're on.
adb pull command worked fine. I have all the data stored now. But that doesn't help me restore settings and data for specific apps back onto my phone. That's the adb push part that isn't working for me.
When you push the data back, do you get any other message than the one you provided initially?
Did you try adb push of: /data/local /data/b2g
Nope, no other message. 3 files pushed. 0 files skipped
Has an adb push of those two directories worked for you? At this point I re-entered all my data so it is kind of hard to test.
It it what I used in the past which worked for me. It's okay to re-push data onto your device.