Looking for something else?
There are backup vendors, such as Asigra, that specifically address Docker containers. However, I suspect it will be a while before native support for Docker backup and recovery becomes a universal feature.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
$ sudo docker run --volumes-from dbdata -v $(pwd):/backup ubuntu tar cvf /backup/backup.tar /dbdata
This command launches a new container and mounts the volume from the dbdata container. It then mounts a local directory /backup and backs up the contents of the dbdata volume to a .TAR file within the /backup directory.
Although some might argue this is a somewhat primitive form of Docker backup, the command listed on the website can be used as a starting point rather than a complete backup solution. For example, an administrator might configure the system to run a similar command on a scheduled basis and then use their existing backup application to back up the resulting .TAR file.
More backup vendors might add native support for Docker in the future. I think a Docker-specific feature would probably be relatively easy for backup vendors to create. Even so, I don’t think we will see widespread implementation of such features until Docker adoption reaches critical mass.
The advantages of using Docker with virtualization
Will Docker make virtual machines obsolete?
Dig Deeper on Backup and recovery software
Related Q&A from Brien Posey
IT can take a few steps to make the move to Windows 10 easier on users, including considering an in-place upgrade and holding off on any other major ...continue reading
When trying to get to the bottom of virtual desktop problems, IT should turn to root cause analysis tools from vendors such as ControlUp and Lakeside...continue reading
Expert Brien Posey explains how hyper-convergence can help healthcare sites better use desktop virtualization, including for storage and scaling ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.