Backup

suggest change

You can use the adb backup command to backup your device.

adb backup [-f <file>] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all] 
           [-system|nosystem] [<packages...>]

-f <filename> specify filename default: creates backup.ab in the current directory

-apk|noapk enable/disable backup of .apks themself default: -noapk

-obb|noobb enable/disable backup of additional files default: -noobb

-shared|noshared backup device’s shared storage / SD card contents default: -noshared

-all backup all installed apllications

-system|nosystem include system applications default: -system

<packages> a list of packages to be backed up (e.g. com.example.android.myapp) (not needed if -all is specified)


For a full device backup, including everything, use

adb backup -apk -obb -shared -all -system -f fullbackup.ab
Note: Doing a full backup can take a long time.

In order to restore a backup, use

adb restore backup.ab

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents