Merge pull request #1040 from joaofnfernandes/1.1-backup-restore

Add flag to ucp 2.0 restore instructions
This commit is contained in:
Joao Fernandes 2017-01-06 13:44:04 -08:00 committed by GitHub
commit 52525d664a
1 changed files with 1 additions and 10 deletions

View File

@ -56,16 +56,7 @@ backup:
```bash
$ docker run --rm -i --name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \
docker/ucp restore < backup.tar
```
The restore command may also be invoked in interactive mode:
```bash
$ docker run --rm -i --name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /path/to/backup.tar:/config/backup.tar \
docker/ucp restore -i
docker/ucp restore --passphrase "secret" < backup.tar
```
## Restore your cluster