A backup application for the Android Open Source Project.
7b95256ba5
For the current transport it is important to know when the backup ends, because it resets its state only then and closes the ZIP file. The detection was broken, because some packages didn't have data to back up (LOG_EVENT_ID_NO_DATA_TO_SEND), so the transport's methods weren't called and the package counter not updated. The hacky solution is to use the BackupObserver to call back into the transport at the end of backup. Ideally, future transports won't need to know when the backup finishes. |
||
---|---|---|
app | ||
gradle/wrapper | ||
.gitignore | ||
.travis.yml | ||
build.gradle | ||
CHANGELOG.md | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle |
Backup
A backup application for the Android Open Source Project.
Features
- Backup application data to a zip file.
- Restore application data from a zip file.
- Password-based encryption.
Getting Started
- Check out the wiki for information on building the application with AOSP.
What makes this different?
This application is compiled with the operating system and does not require a rooted device for use. It uses the same
internal APIs as adb backup
and only requires the permission android.permission.BACKUP
for this.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/stevesoltys/backup.
Permissions
android.permission.BACKUP
to be allowed to back up appsandroid.permission.RECEIVE_BOOT_COMPLETED
to schedule automatic backups after boot
License
This application is available as open source under the terms of the MIT License.