Table of Contents

Backups for Android devices

What to back up

Seedvault

Available for LineageOS and GrapheneOS, Seedvault can:

adb

adb devices
adb backup -all -shared -f `date -I`.ab
Flag Result
-f <file> Write to <file>, else backup.ab
-apk|-noapk enable/disable backup of the .apks themselves
-obb|-noobb enable/disable backup of any installed apk expansion (aka .obb) files associated with each application
-shared|-noshared enable/disable backup of the device's shared storage / SD card contents
-all back up all installed applications
-system|-nosystem toggles whether -all automatically includes system applications
<packages…> list of applications to be backed up. If -all or -shared flags are passed, package list is optional.