How do I troubleshoot backup permissions?
Following the instructions at:
I was able to backup my old phone with B2G-flash-tool's script. And I was able to push most of that backup onto a new phone, but it got hung up and kind of crapped out my phone. The calendar and mail apps had data, but the marketplace wouldn't even load. I just got a white screen. So I re-flashed my phone and set it up from scratch. I'd like to backup the basic setup I've got now, but I'm getting warnings and no data is being stored:
amanda@mona:B2G-flash-tool$ python backup_restore_profile.py -b -p ../Squid/sep13bak 2015-09-13 18:02:22,590 - utilities.adb_helper - INFO - restarting adbd as root
2015-09-13 18:02:22,590 - __main__ - INFO - Target device [None] 2015-09-13 18:02:22,594 - __main__ - INFO - Stop B2G. 2015-09-13 18:02:22,601 - __main__ - INFO - Backing up profile... 2015-09-13 18:02:22,601 - __main__ - INFO - Backing up Wifi information... 2015-09-13 18:02:22,616 - __main__ - WARNING - If you don't have root permission, you cannot backup Wifi information. 2015-09-13 18:02:22,616 - __main__ - INFO - Backing up /data/b2g/mozilla to /tmp/backup_restore_ma6OPK/b2g-mozilla/ ... 2015-09-13 18:02:22,626 - __main__ - WARNING - Can not pull files from /data/b2g/mozilla to /tmp/backup_restore_ma6OPK/b2g-mozilla/ 2015-09-13 18:02:22,627 - __main__ - INFO - Backing up /data/local to /tmp/backup_restore_ma6OPK/data-local/ ... 2015-09-13 18:02:22,646 - __main__ - WARNING - Can not pull files from /data/local to /tmp/backup_restore_ma6OPK/data-local/ 2015-09-13 18:02:22,647 - __main__ - INFO - Backup profile done. 2015-09-13 18:02:22,647 - __main__ - INFO - Copy profile from /tmp/backup_restore_ma6OPK to [../Squid/sep13bak]. 2015-09-13 18:02:22,647 - __main__ - INFO - Start B2G.
The process creates a "sep13bak" directory and creates subfolders for b2g-mozilla, data-local and wifi but they're all empty. I can't figure out why I wouldn't be able to pull files. I didn't need root on my old phone. Is there a setting that I toggled ages ago that I'm missing here?
Ugh. Nevermind. I literally just had to turn off "USB Storage."Read this answer in context 2
Additional System Details
- User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
Ugh. Nevermind. I literally just had to turn off "USB Storage."