-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add backup to Google Drive #4481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
|
are you sure it's a good idea to store log out of local storage. it's changing a lot |
|
The logs are still stored locally (in EXT_FILES_DIR used by logback). Only when exporting will the export location be determined based on the user’s selection. To avoid any misunderstanding, I adjusted the wording and have updated the images. |
|
Great to see to his PR! PR merged with dev, phone updated without issues, Did not encounter any issues on functionality. Only feedback I have: Will run this on my main phone the coming days/weeks for more "field" testing. |
|
@vanelsberg see AAPS-CI because it was created using the same website for the Google OAuth2 application. I will apply for an update to change the name and the icon. |
|
Great work @Angus-repo ! I will also test when I got time :) |
|
PR does great and merges OK with current dev. No issues until know. Top! @Angus-repo: Feature request? |
…cloud storage at the same time.
|
Yes :-) Thanks! This works great. FYI: I'm running latest dev (FullRelease, daily builds) with your PR merged on my daily driver phone. |
|
This PR is still going strong for me. Imho it's complete and done? Ready for merging with dev. |
|
I’ve changed this PR to Review status. If there are significant conflicts with the upcoming 4.0.0 version or if architectural adjustments are required, please tag me and I’ll make the necessary changes. Note: The name and logo on the Google sign-in page are still under Google’s review. Once approved, they will take effect automatically without any code changes, so the sign-in page message can be ignored for now. |







This PR implements the functionality requested in #1208 and #3296.
Thanks to the preparatory work completed by @vanelsberg in PR #3487, this PR is able to support automatic export of settings.
This feature allows users to select a cloud directory from the maintenance page. The original AAPS directory has been renamed to Local Directory; for first-time use, users are still required to specify the local path.
Users can independently decide whether logs, settings, and user entries should be stored in the cloud. The settings feature also supports importing settings from the cloud.
Due to slower cloud import performance, only the latest 5 settings entries are displayed at a time. If needed, users can manually load the next 5 entries.
Settings export can be combined with Automation: once the pump is enabled, settings are automatically exported to the selected cloud directory.
(Note: users are still required to manually enter their password once every four weeks.)
The main functionality is complete. Please help test this and provide feedback. Thank you!