title: How can I backup a Docker-container with its data-volumes?
body: <p>I've been using this Docker-image <a href="https://registry.hub.docker.com/u/tutum/wordpress/">tutum/wordpress</a> to demonstrate a Wordpress website. Recently I found out that the image uses volumes for the MySQL-data.</p>
  
  <p>So the problem is this: If I want to backup and restore the container I can try to commit an image, and then later delete the container, and create a new container from the committed image. But if I do that the volume gets deleted and all my data is gone.</p>
  
  <p>There must be some simple way to backup my container plus its volume-data but I can't find it anywhere.</p>