aboutsummaryrefslogtreecommitdiff
path: root/content/en/blog/docker/migrate-data-volume.md
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-11 18:53:14 +0100
committerJulien Dessaux2021-03-11 18:53:14 +0100
commit60d3abc6ecdc21b4ab921d34a55b4af48690f55a (patch)
tree1ee530dd7367d743fb619f341100e41df22e1985 /content/en/blog/docker/migrate-data-volume.md
parentUpdated docsy theme (diff)
downloadwww-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.gz
www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.bz2
www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.zip
Rewrote the whole website to get rid on a heavy theme
Diffstat (limited to 'content/en/blog/docker/migrate-data-volume.md')
-rw-r--r--content/en/blog/docker/migrate-data-volume.md15
1 files changed, 0 insertions, 15 deletions
diff --git a/content/en/blog/docker/migrate-data-volume.md b/content/en/blog/docker/migrate-data-volume.md
deleted file mode 100644
index 4f54394..0000000
--- a/content/en/blog/docker/migrate-data-volume.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-title: "Migrate a data volume"
-linkTitle: "Migrate a data volume"
-date: 2018-01-30
-description: >
- How to migrate a data volume
----
-
-Here is how to migrate a data volume between two of your hosts. A rsync of the proper `/var/lib/docker/volumes` subfolder would work just as well, but is here a fun way to do it with docker and pipes :
-{{< highlight sh >}}
-export VOLUME=tiddlywiki
-export DEST=10.1.0.242
-docker run --rm -v $VOLUME:/from alpine ash -c "cd /from ; tar -cpf - . " \
-| ssh $DEST "docker run --rm -i -v $VOLUME:/to alpine ash -c 'cd /to ; tar -xfp - ' "
-{{< /highlight >}}