diff options
Diffstat (limited to '')
-rw-r--r-- | content/blog/docker/migrate-data-volume.md | 11 |
1 files changed, 7 insertions, 4 deletions
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 |