1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Update userguide/dockervolumes - fixes issue #12052

Signed-off-by: Evgeny Lukianchikov <mail@eluck.me>
This commit is contained in:
eluck 2015-04-03 13:59:31 +03:00
parent a3a45a6ec0
commit 57b09068ef

View file

@ -205,7 +205,7 @@ elsewhere. Create a new container.
Then un-tar the backup file in the new container's data volume. 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 You can use the techniques above to automate backup, migration and
restore testing using your preferred tools. restore testing using your preferred tools.