Backup Android phone: Difference between revisions

From Tech
Jump to navigationJump to search
Content deleted Content added
Created page with "=With out root= This creates a backup.ab file with all (?) data (but is encrypted if your device is encrypted): <nowiki>adb backup -apk -shared -all backup-nexus7</nowiki> Alte…"
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
=With out root=
=Without root=
This creates a backup.ab file with all (?) data (but is encrypted if your device is encrypted):
This creates a backup.ab file with all (?) data (but is encrypted if your device is encrypted):
<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=
* [[Android]]
* [[Rooting Android]]
* [[About the Android Filesystem]]

Latest revision as of 23:27, 5 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