mirror of https://github.com/docker/docs.git
Clarify image restore topic (#2923)
* restore doc updated * changed the text a little bit * changed the text according to requirement
This commit is contained in:
parent
d9797820ca
commit
c5d9a28bcc
|
@ -86,10 +86,9 @@ $ tar -tf /tmp/backup.tar
|
|||
|
||||
## Restore DTR data
|
||||
|
||||
You can restore a DTR node from a backup using the `docker/dtr restore`
|
||||
command.
|
||||
This command performs a fresh installation of DTR, and reconfigures it with
|
||||
the configuration created during a backup.
|
||||
When restoring, make sure you use the same version of the `docker/dtr` image that you've used to create the backup.
|
||||
|
||||
The command starts by installing DTR, restores the configurations stored on
|
||||
etcd, and then restores the repository metadata stored on RethinkDB. You
|
||||
|
|
|
@ -81,10 +81,9 @@ $ tar -tf /tmp/backup.tar
|
|||
|
||||
## Restore DTR data
|
||||
|
||||
You can restore a DTR node from a backup using the `restore`
|
||||
command.
|
||||
This command performs a fresh installation of DTR, and reconfigures it with
|
||||
the configuration created during a backup.
|
||||
When restoring, make sure you use the same version of the `docker/dtr` image that you've used to create the backup.
|
||||
|
||||
The command starts by installing DTR, restores the configurations stored on
|
||||
etcd, and then restores the repository metadata stored on RethinkDB. You
|
||||
|
|
|
@ -63,6 +63,7 @@ Enter passphrase: secret
|
|||
|
||||
The example below shows how to restore a UCP controller node from an existing
|
||||
backup.
|
||||
When restoring, make sure you use the same version of the `docker/dtr` image that you've used to create the backup.
|
||||
|
||||
First find out the Id of the UCP replica you want to restore:
|
||||
|
||||
|
|
|
@ -59,6 +59,8 @@ $ docker run --rm -i --name ucp \
|
|||
docker/ucp restore --passphrase "secret" < backup.tar
|
||||
```
|
||||
|
||||
When restoring, make sure you use the same version of the `docker/dtr` image that you've used to create the backup.
|
||||
|
||||
## Restore your cluster
|
||||
|
||||
The restore command can be used to create a new UCP cluster from a backup file.
|
||||
|
|
|
@ -77,6 +77,7 @@ $ gpg --decrypt /tmp/backup.tar | tar --list
|
|||
## Restore your cluster
|
||||
|
||||
The restore command can be used to create a new UCP cluster from a backup file.
|
||||
When restoring, make sure you use the same version of the `docker/dtr` image that you've used to create the backup.
|
||||
After the restore operation is complete, the following data will be recovered
|
||||
from the backup file:
|
||||
|
||||
|
|
Loading…
Reference in New Issue