Why isn't a SQLite db in system.environment.specialfolder.personal backed up?

Brian Kramer 66 Reputation points
2022-05-09T19:43:00.45+00:00

Why isn’t a SQLite db in system.environment.special folder.personal backed up in android? Where should it be stored to insure backup? A user got a new phone and lost all their data.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,011 Reputation points Microsoft Vendor
    2022-05-10T06:56:05.403+00:00

    Hello,​

    For Xamarin.forms, you can Store and Access Data in Azure Storage from Xamarin.Forms.
    For android native platform, you can use android back up to upload your sqlite db to Google drive, then restore app data to use transfer data using sync adapters or Google Drive Android API.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful