Docker stores its containers, volumes, and images in a collection of large files under /var
which is not the greatest thing for backing up incrementally.
With Bareos, I understand that backing up MySQL databases has the same issue and can be done with bpipe.
How can I backup Docker containers (and images, although there's another solution to that*) so that they are easily able to be restored to the same machine or another one?
*(There's also docker registry, which will let you push
images to a remote repository, which works a bit like a backup also, but without the backup mindset. And it only works for images, not containers or volumes.)