yakultisawesome

joined 11 months ago
[–] [email protected] 1 points 11 months ago

I don't think backing up the container is the right strategy, as containers (I think***) is built for portability. So you can spin one up in seconds, or migrate to another machine with very little hassle.

For me I backup the docker host itself and the docker config files in the volumes with a script. I make the somewhat redundant back up of the config files in addition to the host is because I like to tinker things, and usually nuke something in the process. Having a more frequent backup of the docker configs allows me to easily restore if something goes wrong.