Difference between revisions of "Backup Android phone"

From Tech
Jump to navigationJump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<nowiki>adb backup -apk -shared -all backup-nexus7</nowiki>
 
<nowiki>adb backup -apk -shared -all backup-nexus7</nowiki>
 
Alternatively, use [https://play.google.com/store/apps/details?id=com.sand.airdroid AirDroid]
 
Alternatively, use [https://play.google.com/store/apps/details?id=com.sand.airdroid AirDroid]
  +
  +
=Restoring Backup=
  +
==Galery==
  +
After restoring the images in DCIM, you may need to remove the <tt>/sdcard/Android/data/com.google.android.gallery3d</tt> (Android 4.2.1).
  +
[http://alensiljak.blogspot.nl/2011/01/clear-gallery-thumbnails-on-android.html alensiljak] notes that on older Androids, remove <tt>com.cooliris.media</tt>
  +
  +
=Just individual files=
  +
==APK packages==
  +
For instance, do:
  +
adb pull ./data/app/com.nianticlabs.pokemongo-2/base.apk /tmp/pokemongo.apk
  +
  +
==OSMAnd recorded traces==
  +
adb pull /data/data/net.osmand.plus/no_backup/tracks/rec .
   
 
=See Also=
 
=See Also=

Latest revision as of 01:27, 6 August 2016

Without root

This creates a backup.ab file with all (?) data (but is encrypted if your device is encrypted):

adb backup -apk -shared -all  backup-nexus7

Alternatively, use AirDroid

Restoring Backup

Galery

After restoring the images in DCIM, you may need to remove the /sdcard/Android/data/com.google.android.gallery3d (Android 4.2.1). alensiljak notes that on older Androids, remove com.cooliris.media

Just individual files

APK packages

For instance, do:

adb pull ./data/app/com.nianticlabs.pokemongo-2/base.apk /tmp/pokemongo.apk

OSMAnd recorded traces

adb pull /data/data/net.osmand.plus/no_backup/tracks/rec .

See Also