A backup application for the Android Open Source Project.
Find a file
Torsten Grote 7b95256ba5
Fix detection of the end of backup
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.
2019-06-14 16:33:05 -03:00
app Fix detection of the end of backup 2019-06-14 16:33:05 -03:00
gradle/wrapper Several small nitpicks and fixes 2019-06-04 09:04:25 -03:00
.gitignore Add signing config for faster testing 2019-06-04 09:04:25 -03:00
.travis.yml Several small nitpicks and fixes 2019-06-04 09:04:25 -03:00
build.gradle Downgrade Android Gradle plugin 2019-06-04 12:36:53 -03:00
CHANGELOG.md Version bump - 0.3.0 2019-03-14 21:33:50 -04:00
gradlew Add experimental support for standalone builds 2018-11-07 22:04:37 -05:00
gradlew.bat Add experimental support for standalone builds 2018-11-07 22:04:37 -05:00
LICENSE Initial commit 2017-09-21 00:30:28 -04:00
README.md Resolve review comments about backup compontent refactoring 2019-06-12 09:19:38 -03:00
settings.gradle Add experimental support for standalone builds 2018-11-07 22:04:37 -05:00

Backup

Build Status

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 apps
  • android.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.