Skip to content

Commit

Permalink
Add flag to ucp 2.0 restore instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao Fernandes committed Jan 5, 2017
1 parent 5a70ee3 commit b687e93
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b687e93

Please sign in to comment.