backing up android device using adb

epocolis picture epocolis · Oct 7, 2013 · Viewed 75.3k times · Source

I am attempting to copy all the applications and data from a android tablet1 to another android tablet2. Both tablets has the same specification and is the same type.

My approach is to use the command

 adb backup -f my_backup.ab -apk -shared -all

to get all the files from tablet1 then use the command:

 adb restore my_backup.ab

to restore(basically copy) all the backed up files to tablet2.

The restore works fine, my problem is that sometimes backup does not backup all applications are all data on the device.

Do you have any idea why this might be happening?

Thanks for your response and time.

Answer

Ibungo picture Ibungo · Oct 29, 2013

Execute on your computer

adb backup -apk -shared -all

This should hopefully create backup.ab with all of your apps, OS, and data. To restore, execute the following.

adb restore backup.ab