webknossos
webknossos copied to clipboard
Include docker-compose steps in hosting for localized database backups
Provides docker-compose steps that allow an end user to easily access and run commands for data integrity and reliability against a local fossil-db and postgres instances
Cc @kabilar
URL of deployed dev instance (used for testing):
N/A
Steps to test:
- Create a deployment of WebKNOSSOS via instructions on https://docs.webknossos.org/webknossos/installation.html
- Once all containers are healthly on your local EC2, run
docker-compose run --rm fossil-db-backup - Confirm backup is present in
/persistent/fossildb/backup/privateon EC2 instance - Run
docker-compose run --rm fossil-db-restoreto observe successful restoration (additionally, you can destroy the localfossildbinstance and see if you can re-populate viarestore)
TODOs:
- [x] Include similar docker-compose scripts for
pg_dumpequivalent
Issues:
- fixes #
(Please delete unneeded items, merge only when none are left open)
- [ ] Updated changelog
- [ ] Updated migration guide if applicable
- [ ] Updated documentation if applicable
- [ ] Adapted wk-libs python client if relevant API parts change
- [ ] Removed dev-only changes like prints and application.conf edits
- [ ] Considered common edge cases
- [ ] Needs datastore update after deployment
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.
:white_check_mark: aaronkanzer
:x: Aaron Kanzer
Aaron Kanzer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
Thanks again for your contribution! I'm closing this PR due to inactivity, but please feel free to re-open when you have a chance to revisit it. Note that we cannot take over this PR due to the license issue @normanrz mentioned above:
In order to merge PRs from contributors, we need the CLA check to pass. For that all commits need to be authored with matching email info. Sorry for the inconvenience.