Docker container: Backup and Recovery - LinuxConfig.org

This config will describe a procedure of how to back up a Docker container as well as it will also show how to recover a Docker container from backup.
This is a companion discussion topic for the original entry at https://linuxconfig.org/docker-container-backup-and-recovery

Yohann

I thought the point was to put in place in seconds a new container with the image. Why would you backup it ? I would backup linked volumes to thoses containers, but why containers ?

Frederic Turiot

hi,
good job.
but save volume with images or not ?
thanks for all

@Yohann, it’s probably not very useful in production, but very useful during development: for example, I found this article because I want to make sure to have a reproducible environment before doing an important refactoring. Of course, I also need to backup the database (not containerized) and the volumes. When my container will be in production, backing it up will probably be meaningless…