care
care copied to clipboard
Add scripts and docs to configure docker backups
Proposed Changes
- Added a script for backing up the PSQL database in the docker container
- Added docs to set up the cronjob in README.md
- Edited the compose file to mount a local directory to new directory inside the container
- Added docs to restore the container's database
- Fixed some typos
Associated Issue
- https://github.com/ohcnetwork/care/issues/2301
- The backup script works perfectly
- Mounted a local directory to a new directory(backups) inside the container, so that the user can move the backed up sql file inside this local directory and restore the container's database
- The backup.md doc will help the user to restore the container's database
Architecture changes
- Added a new doc
- Added a new script in /care/scripts Only PR's with test cases included and passing lint and test pipelines will be reviewed
@ohcnetwork/care-backend-maintainers @ohcnetwork/care-backend-admins