-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add backup service #1
Comments
As the the demos and logs are placed in docker volumes there is no "clean" way of getting them.
What do you guys like best? |
The clean way imo is to have a backup service specified in the docker-compose.yml that mounts the media folders AND a backup folder from the host, and copies the files over there. |
https://github.com/gfelisberto/nquakesv-backup I already updated my local docker-compose to include this but wanted to discuss better before going forward. Currently I am doing a rsync for the demos because the files are not changed. But for the logs as we may get a new container with new files and the same name I opted for doing a full tar.bz2 |
I think the right thing to do here would be to use bind mounts in the docker-compose.yml, instead of volumes.
So, whereever the user chooses to put his docker-compose.yml, demos, logs and media would live right alongside of it. |
Another idea is to add extra container to export data outside of the stack, for example periodic rclone or synthing. |
I am writing the perfect backup image for this. |
and how it's going? ;) |
I'm done with the image. I just need to add it to this project :) |
Backup all the demos & logs that are generated.
The text was updated successfully, but these errors were encountered: