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.
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.
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.
You can back up and retore by iTunes. You can save your SQLite DB in the Documents/ folder, your DB file will not be cleaned even device runs critically low on disk space.
https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/file-system#backup-and-restore
7 people are following this question.