Artificial-Pancreas / iAPS

MIT License
170 stars 715 forks source link

Feature Request: daily backups #610

Open mkellerman opened 5 months ago

mkellerman commented 5 months ago

Have an option to backup settings to iCloud/OneDrive. This should also add the option to auto export the debug logs as well.

We us our log files to analyze and make setting suggestions. Having those auto exported at the end of the day could help create some automated recommendations.

Or is there a way to pull the logs remotely? Or push them to nightscout? I'm leaving the implementation details to the devs.

Thanks for all your help!

Jon-b-m commented 1 month ago

Backup of all settings including CoreData is currently in testing branch profiles, in a PR to dev.

Jon-b-m commented 1 month ago

The logs are quite big, but if you want to backup these to cloud you can. Just create an automation, using iOS shortcuts app, uploading the log.txt to cloud on every day (or both log files every second day).