Skip to content

Most visited

Recently visited

navigation

Android Backup Service

The Android Backup Service provides cloud storage for apps that implement Key/Value Backup. During a key/value backup operation, the app's backup data is passed to the device's backup transport. If the device is using the default Google backup transport, then the data is passed to the Android Backup Service for archival. For more information, see How backup works.

Note: Backup data from Auto Backup is not stored in Android Backup Service. Apps that support Auto Backup do not need to register for the Android Backup Service.

To use Android Backup Service, register your app to receive a key. Then, include the key in your app's Android manifest file. For more information, see Registering for Android Backup Service.

Registering your application with Android Backup Service does not guarantee that it will always back up data using this service from Google. If you support data backup in your application, then it will back up using whichever backup transport is enabled on the device.

For more information about how data backup works on Android and how to use it in your app, read the Data Backup guide.

User Privacy

At Google, we are keenly aware of the trust users place in us and our responsibility to protect users' privacy. Google securely transmits backup data to and from Google servers in order to provide backup and restore features. Google treats this data as personal information in accordance with Google's Privacy Policy.

In addition, users can disable data backup functionality through the Android system's privacy settings. When a user disables backup, Android Backup Service deletes all saved backup data. A user can re-enable backup on the device, but Android Backup Service will not restore any previously deleted data.

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.