Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

backing up android device using adb [closed]

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.

like image 754
epocolis Avatar asked Oct 07 '13 12:10

epocolis


People also ask

Where do adb backups go?

ab gets stored in the present working directory by default.


1 Answers

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 
like image 165
Ibungo Avatar answered Sep 20 '22 23:09

Ibungo