User Tools

Site Tools


info:android:backup
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 '+%Y-%m-%d').db adb backup -apk -shared -all -f $(date '+%Y-%m-%d').db
 </code> </code>
 +
 +If you are havong problems with the connection ("adb: unable to connect for backup"), check the listing of connected devices:
 +
 +<code bash>
 +adb devices
 +</code>
 +
 +Which may result in a listing like this:
 +
 +<file>
 +List of devices attached 
 +???????????? no permissions
 +</file>
 +
 +You can solve this by restarting the adb server:
 +
 +<code bash>
 +sudo adb kill-server
 +sudo adb start-server
 +</code>
 +<file>
 +* daemon not running. starting it now on port 5037 *
 +* daemon started successfully *
 +</file>
 +
 +After this, the output of ''adb devices'' will look like this:
 +
 +<file>
 +G65ABT632191 device
 +</file>
 +
 +Now, try to start the backup again.
 +Good luck!
  
 {{tag>android backup}} {{tag>android backup}}
info/android/backup.1366804933.txt.gz · Last modified: 2013-04-24 12:02 by andunix