gpt4 book ai didi

android - "Backup"类别下的用户数据备份到 Google Drive

转载 作者:可可西里 更新时间:2023-11-01 18:47:45 26 4
gpt4 key购买 nike

我正在做一些关于将用户数据备份到云端硬盘的研发工作。用户数据意味着数据库或他们自己使用应用程序创建的内容。我希望这基本上可以保留数据,以防用户更换设备或将其掉入海中或发生其他情况。

我用谷歌搜索并找到了 Application Folder API它使用隐藏文件夹的地方。我检查了自己的驱动器,发现了一些有趣的东西。一些应用程序使用应用程序文件夹来存储它们的数据;很正常。

Normal apps

但某些应用程序(例如 WhatsApp)的数据备份专门列在“备份”类别下。

WhatsApp backup

我搜索了不同之处,但没有找到任何东西。我想知道如何在“备份”类别下获得备份,这似乎是一个完美的选择。选择一些备份时,它还提供了额外的信息和选项。

有什么想法吗?这两者之间有什么区别?如何获取“备份”目录下的备份?

更新:我认为云端硬盘对 WhatsApp 备份提供特殊处理,因此它们与手机数据备份一起单独显示。我只是在阅读后猜测 this recent news .请对此做出一些说明。

最佳答案

对于 Android,请尝试使用 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.

关于android - "Backup"类别下的用户数据备份到 Google Drive,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45769363/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com