Update userguide/dockervolumes - fixes issue #12052

Signed-off-by: Evgeny Lukianchikov <mail@eluck.me>
Upstream-commit: 57b09068efe3a278145683ff05b5e352ee00bba3
Component: engine
This commit is contained in:
eluck
2015-04-03 14:07:51 +03:00
parent d2894c5f4b
commit e2ab7dec3a
@@ -205,7 +205,7 @@ elsewhere. Create a new container.
Then un-tar the backup file in the new container's data volume.
$ docker run --volumes-from dbdata2 -v $(pwd):/backup busybox tar xvf /backup/backup.tar
$ docker run --volumes-from dbdata2 -v $(pwd):/backup ubuntu cd /dbdata && tar xvf /backup/backup.tar
You can use the techniques above to automate backup, migration and
restore testing using your preferred tools.