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

CU-8692nw7qj: backup and restore scripts sqlite db sh scripts #153

Merged
merged 3 commits into from
Sep 27, 2023

Conversation

tomolopolis
Copy link
Member

@tomolopolis tomolopolis commented Sep 26, 2023

  • reorganises the run, load_examples.py and adds shell scripts for:
    • backing (cp-ing) the sqlite DB to a medcattrainer-api-db-backup volume,
    • restoring a specified backup db, or the latest
  • backups are taken at each startup - before startup,
  • a cron tab is used in the service

@tomolopolis
Copy link
Member Author

@tomolopolis tomolopolis force-pushed the db-backup-process branch 2 times, most recently from 6ca06b4 to 2f979dd Compare September 26, 2023 23:49
@tomolopolis tomolopolis merged commit 03a5e23 into master Sep 27, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant