diff --git a/README.md b/README.md index 011f18a..51b5b48 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ An utility to backup and restore [docker volumes](https://docs.docker.com/engine/reference/commandline/volume/). -**Note**: Make sure no container is using the volume before backup or restore. +**Note**: Make sure no container is using the volume before backup or restore, otherwise your data might be damaged. ## Backup @@ -18,12 +18,12 @@ will archive volume named `some_volume` to `/tmp/archive.tar.bz2` archive file. ## Restore +**Note**: This operation will delete all contents of the volume + Syntax: docker run -v [volume-name]:/volume -v [output-dir]:/backup loomchild/volume-backup restore [archive-name] -**Note**: This operation will delete all contents of the volume - For example: docker run -v some_volume:/volume -v /tmp:/backup loomchild/volume-backup restore archive1