This shows you the differences between two versions of the page.
info:android:backup [2013-04-24 12:02] andunix created |
info:android:backup [2013-04-24 12:11] (current) andunix |
||
---|---|---|---|
Line 6: | Line 6: | ||
adb backup -apk -shared -all -f $(date ' | adb backup -apk -shared -all -f $(date ' | ||
</ | </ | ||
+ | |||
+ | If you are havong problems with the connection ("adb: unable to connect for backup" | ||
+ | |||
+ | <code bash> | ||
+ | adb devices | ||
+ | </ | ||
+ | |||
+ | Which may result in a listing like this: | ||
+ | |||
+ | < | ||
+ | List of devices attached | ||
+ | ???????????? | ||
+ | </ | ||
+ | |||
+ | You can solve this by restarting the adb server: | ||
+ | |||
+ | <code bash> | ||
+ | sudo adb kill-server | ||
+ | sudo adb start-server | ||
+ | </ | ||
+ | < | ||
+ | * daemon not running. starting it now on port 5037 * | ||
+ | * daemon started successfully * | ||
+ | </ | ||
+ | |||
+ | After this, the output of '' | ||
+ | |||
+ | < | ||
+ | G65ABT632191 device | ||
+ | </ | ||
+ | |||
+ | Now, try to start the backup again. | ||
+ | Good luck! | ||
{{tag> | {{tag> |