webknossos icon indicating copy to clipboard operation
webknossos copied to clipboard

Include docker-compose steps in hosting for localized database backups

Open aaronkanzer opened this issue 1 year ago • 1 comments

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/private on EC2 instance
  • Run docker-compose run --rm fossil-db-restore to observe successful restoration (additionally, you can destroy the local fossildb instance and see if you can re-populate via restore)

TODOs:

  • [x] Include similar docker-compose scripts for pg_dump equivalent

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

aaronkanzer avatar Jul 17 '24 16:07 aaronkanzer

CLA assistant check
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.

CLAassistant avatar Jul 17 '24 16:07 CLAassistant

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.

philippotto avatar Mar 17 '25 09:03 philippotto