Backup Android phone

From Tech
Jump to navigationJump to search

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