-
Notifications
You must be signed in to change notification settings - Fork 0
Android Backups
Paradis Perdu edited this page Feb 27, 2019
·
2 revisions
There are multiple different backup techniques:
- USB
- Google Cloud
- 3rd Party
- Check the
androidmanifest.xmlforallowBackup. - From API 23+ this defaults to true if omitted
- When true it means the app can be backed up
- If the device is encrypted , the backup will be encrypted too
- Autobackup is also configured in the
àndroidmanifest.xml - Apps that target API 23+ automatically participate in autobackup
- Autobackup uploads app data to the users google drive account
- 25MB per user of the app
- Includes, shared prefs, internal storage, databases, external storage
-
android:allowBackupmust be false to disable.
- Rules can be configured to only backup parts of an application as part of autobackup
- defined in
androidmanifest.xml - XML file will reside in
res/xmldirectory
adb backup -apk -nosystem com.your.app
dd if=mybackup.ab bs=24 skip=1 | openssl zlib -d > mybackup.tar
tar xvf mybackup.tar
adb restore mybackup.ab