From 1a4981a826bb94c478c6f49721396ec03e02649c Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 11 Mar 2021 19:47:26 +0100 Subject: First big articles reformatting now that I properly understand hugo --- content/blog/docker/migrate-data-volume.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'content/blog/docker/migrate-data-volume.md') diff --git a/content/blog/docker/migrate-data-volume.md b/content/blog/docker/migrate-data-volume.md index 4f54394..0389a47 100644 --- a/content/blog/docker/migrate-data-volume.md +++ b/content/blog/docker/migrate-data-volume.md @@ -1,12 +1,15 @@ --- title: "Migrate a data volume" -linkTitle: "Migrate a data volume" date: 2018-01-30 -description: > - How to migrate a data volume +description: How to migrate a data volume between two hosts +tags: + - docker + - linux --- -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 : +## The command + +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 here is a fun way to do it with docker and pipes : {{< highlight sh >}} export VOLUME=tiddlywiki export DEST=10.1.0.242 -- cgit v1.2.3