Browse code

Update userguide/dockervolumes - fixes issue #12052

Signed-off-by: Evgeny Lukianchikov <mail@eluck.me>

eluck authored on 2015/04/03 19:59:31
Showing 1 changed files
... ...
@@ -205,7 +205,7 @@ elsewhere. Create a new container.
205 205
 
206 206
 Then un-tar the backup file in the new container's data volume.
207 207
 
208
-    $ docker run --volumes-from dbdata2 -v $(pwd):/backup busybox tar xvf /backup/backup.tar
208
+    $ docker run --volumes-from dbdata2 -v $(pwd):/backup ubuntu cd /dbdata && tar xvf /backup/backup.tar
209 209
 
210 210
 You can use the techniques above to automate backup, migration and
211 211
 restore testing using your preferred tools.