Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

User Data backup to Google Drive under "Backup" category

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.

like image 444
Mangesh Avatar asked Aug 19 '17 08:08

Mangesh


People also ask

What category of storage is Google Drive?

Google Drive is a free cloud-based storage service that enables users to store and access files online. The service syncs stored documents, photos and more across all of the user's devices, including mobile devices, tablets and PCs.

Can you back up data to Google Drive?

You can back up your app data, call history, and other info to your Google Drive. You get unlimited backup for “full resolution” photos and videos (limited backup for original resolution). Once you've backed up your app history, etc.

What happens when you backup your data to Google Drive?

Using Backup and Sync Client by Google This way, you don't just make a one-time copy; you sync your local and Google Drive data, which means all new files added to Google Drive will be automatically saved on your hard drive.


1 Answers

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.

like image 119
Teyam Avatar answered Oct 12 '22 21:10

Teyam