Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Update alpine to 3.9 #2
And a question: Would you accept a PR adding a feature for pre-backup commands? I modified the code to be able to execute docker commands prior to backup, so I can do a database dump etc. It works perfectly, but adds the docker-cli package to the image and one needs to mount the docker socket for the use of this feature.
Not sure I like to extend the container's privileges that much. Personally, I am thinking about disabling the built-in cron and using swarm-cronjob for scheduling instead. Then, for pre-backup purposes, you could schedule a different service with enough time buffer so it is finished when the backup service is scheduled.
From a separation of concerns standpoint, that would be the cleaner approach. Of course, that only works in swarm mode. Would that be feasible for you?