Skip to content

Instantly share code, notes, and snippets.

@MrHallows
Created September 29, 2020 14:54
Show Gist options
  • Save MrHallows/ab1d9460f81e53b54163c595bf605781 to your computer and use it in GitHub Desktop.
Save MrHallows/ab1d9460f81e53b54163c595bf605781 to your computer and use it in GitHub Desktop.
ADB Full Backup/Restore Commands

ADB Full Backup Command:

adb backup -apk -shared -all -f <filepath>

Example:

adb backup -apk -shared -all -f C:\path\to\backups\android_backup_YYYY-MM-DD.ab

ADB Restore Command:

adb restore <filepath>

Example:

adb restore C:\path\to\backups\android_backup_YYYY-MM-DD.ab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment