From 8469edc959038bf73386c70ef2861c103d2f3321 Mon Sep 17 00:00:00 2001 From: DJ Enriquez Date: Wed, 12 Oct 2016 11:22:49 -0700 Subject: [PATCH] Fix README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d3de8cd..ffd2bb7 100644 --- a/README.md +++ b/README.md @@ -7,19 +7,22 @@ CONSUL_ADDRESS=10.0.1.2 CONSUL_PORT=8500 BACKUP_FILE=my_backup -docker run djenriquez/consulidator \ +docker run --rm \ +djenriquez/consulidator:v0.1.0 \ --backup \ --port $CONSUL_PORT $CONSUL_ADDRESS > $BACKUP_FILE ``` ## Restore: +Assuming that you are running the restore in the working directory that contains `$BACKUP_FILE` ```sh CONSUL_ADDRESS=10.0.1.2 CONSUL_PORT=8500 BACKUP_FILE=my_backup -docker run djenriquez/consulidator \ +docker run --rm \ -v `pwd`:/restore \ +djenriquez/consulidator:v0.1.0 \ --restore $BACKUP_FILE \ --port $CONSUL_PORT $CONSUL_ADDRESS ``` \ No newline at end of file