18

I was doing some R&D regarding backing up user data to Drive. User data meaning dbs or their own created content using the app. I want this to basically persist the data in case user changes their device or drops it in the ocean or whatever.

I googled it and found the Application Folder API where it uses hidden folder. I checked my own Drive and found something interesting. Some apps are using the Application Folders to store their data; quite normal.

Normal apps

But some apps for example, WhatsApp, has its data backup listed specifically under the "Backup" category.

WhatsApp backup

I searched for the difference and didn't find anything. I was wondering how to get the backup under "Backup" category which seems to be the perfect option. It also provides extra info and options when some backup is selected.

Any idea? What could be the difference between these two? How to get backup under the "Backup" category?

UPDATE: I think Drive provides special treatment to WhatsApp backups, and hence they are shown separately along with the phone data backup. I'm just guessing this after reading this recent news. Please provide some clarification on this.

Mangesh
  • 5,491
  • 5
  • 48
  • 71

1 Answers1

6

For Android, try using the Auto Backup for Apps.

Auto Backup preserves app data by uploading it to the user's Google Drive account, where it is protected by the user's Google account credentials. The amount of data is limited to 25MB per user of your app and there is no charge for storing backup data.

Users can see a list of apps that have been backed up in the Google Drive app under Settings -> Auto Backup for apps -> Manage backup.

Community
  • 1
  • 1
Teyam
  • 7,686
  • 3
  • 15
  • 22
  • 7
    This is not what I want. This is about the App Data, and I'm specifically asking about User Data. In short I want the backup mechanism like WhatsApp. – Mangesh Aug 20 '17 at 07:21
  • 1
    How does google app backup has more than 25 mb limit for whatsapp? – Fazal Jul 31 '21 at 22:17