Skip to content
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

Remove Google Drive backups by Jan 31 #323

Closed
matthew-white opened this issue Sep 19, 2022 · 1 comment
Closed

Remove Google Drive backups by Jan 31 #323

matthew-white opened this issue Sep 19, 2022 · 1 comment
Assignees
Labels
backend Requires a change to the API server frontend Requires a change to the UI ops Docker, ops to deploy Central

Comments

@matthew-white
Copy link
Member

matthew-white commented Sep 19, 2022

Background: https://forum.getodk.org/t/backups-to-google-drive-from-central-will-stop-working-after-jan-31st/38895

In v1.5.3, we removed the ability to create a new backups config. By Jan 31, we plan to remove all functionality related to Google Drive backups. Note that not all backup functionality will be removed, only backups to Google Drive. We will still support direct backups, as well as backup restore.

Partial list of to-dos:

  • Questions
    • Do we want to remove the GET version of /v1/backup, which will use the passphrase previously configured for Google Drive backups? I think we should remove the endpoint or at least put it on a deprecation path.
  • Backend
    • Config frame
      • Remove support for backups.google and maybe also backups.main.
    • GET/DELETE /v1/config/backups
      • Especially if we remove the GET version of /v1/backup, I think we should remove these endpoints.
    • Migration
      • Delete the backups.google config and maybe also backups.main.
      • Drawing from the draft migration here, soft-delete any unused backup creation tokens and hard-delete those tokens' sessions, the initbkup role, and the tokens' assignments to the role.
    • Remove lib/bin/backup.js.
    • Remove Google things: lib/external/google.js, lib/task/google.js, test/util/google-mock.js
  • Frontend
    • Remove the /system/backups route and the BackupList component.
    • Remove showsBackups from src/config.js.
  • central
    • run-backup.sh
    • Remove run-backup.sh from crontab.
@matthew-white matthew-white added backend Requires a change to the API server frontend Requires a change to the UI ops Docker, ops to deploy Central labels Sep 19, 2022
@matthew-white matthew-white added this to the v2023.1 milestone Nov 22, 2022
@matthew-white matthew-white self-assigned this Nov 30, 2022
matthew-white added a commit that referenced this issue Dec 21, 2022
See #323. There will also be changes in Backend and Frontend.
matthew-white added a commit to getodk/central-frontend that referenced this issue Dec 22, 2022
matthew-white added a commit to getodk/central-frontend that referenced this issue Jan 3, 2023
matthew-white added a commit that referenced this issue Jan 3, 2023
See #323. There will also be changes in Backend and Frontend.
@matthew-white matthew-white added the needs testing Needs manual testing label Jan 10, 2023
@matthew-white matthew-white removed the needs testing Needs manual testing label Jan 21, 2023
@matthew-white matthew-white removed this from the v2023.1 milestone Jan 24, 2023
@matthew-white
Copy link
Member Author

yanokwa pushed a commit to yanokwa/odk-central that referenced this issue Feb 25, 2023
See getodk#323. There will also be changes in Backend and Frontend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires a change to the API server frontend Requires a change to the UI ops Docker, ops to deploy Central
Projects
Status: ✅ done
Development

No branches or pull requests

1 participant