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