From 097434d53056a631a62673683dfbb036b3a0d764 Mon Sep 17 00:00:00 2001 From: Anoop Kumar Date: Tue, 18 Oct 2016 23:14:15 -0400 Subject: [PATCH] Minor corrections Corrected command arguments for restore. Listed correct link for restore documentation. Changed usage of /tmp to /var/tmp for storage of backups as /tmp gets cleaned out on reboot. --- .../high-availability/backups-and-disaster-recovery.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-trusted-registry/high-availability/backups-and-disaster-recovery.md b/docker-trusted-registry/high-availability/backups-and-disaster-recovery.md index c3e9fbb6a7..ac75a5cf30 100644 --- a/docker-trusted-registry/high-availability/backups-and-disaster-recovery.md +++ b/docker-trusted-registry/high-availability/backups-and-disaster-recovery.md @@ -74,7 +74,7 @@ $ docker run -i --rm docker/dtr backup \ --ucp-ca "$(cat ucp-ca.pem)" \ --existing-replica-id \ --ucp-username \ - --ucp-password > /tmp/backup.tar + --ucp-password > /var/tmp/backup.tar ``` Where: @@ -109,8 +109,8 @@ consideration whether your DTR installation is configured to store images on the filesystem or using a cloud provider. You can check the -[reference documentation](../reference/backup.md), for the -backup command to learn about all the available flags. +[reference documentation](../reference/restore.md), for the +restore command to learn about all the available flags. As an example, to install DTR on the host and restore its @@ -127,7 +127,7 @@ $ docker run -i --rm \ --ucp-ca "$(cat ucp-ca.pem)" \ --ucp-username \ --ucp-password \ - --dtr-load-balancer < /tmp/backup.tar + --dtr-external-url < /var/tmp/backup.tar ``` Where: @@ -135,7 +135,7 @@ Where: * `--ucp-url` is the address of UCP, * `--ucp-ca` is the UCP certificate authority, * `--ucp-username`, and `--ucp-password` are the credentials of a UCP administrator, -* `--dtr-load-balancer` is the domain name or ip where DTR can be reached. +* `--dtr-external-url` is the domain name or ip where DTR can be reached. ## Where to go next