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

Ensure backupreader user can make backups #49

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BenjaminPelletier
Copy link
Member

Intended to resolve #44

USER backupreader
RUN mkdir -p /home/backupreader/backups
RUN mkdir -p /home/backupreader/backups && chown backupreader /home/backupreader/backups
VOLUME /home/backupreader/backups
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this make backups be stored inside a docker volume?

I think there's a strong case to be made to keep backups outside of the docker ecosystem - as simple files which can be manipulated directly. Also deploy_tool has logic in it for blowing-away volumes, and it's feels to easily to accidentally delete all our backups when tidying up "unused" docker resources.

@BenjaminPelletier BenjaminPelletier marked this pull request as draft August 11, 2023 18:51
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.

Cannot trigger manual backup as backupreader user
2 participants