Skip to content

Correct & Specify additional supported options for restore #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docker-trusted-registry/reference/restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ $ docker run -i --rm docker/dtr \
## Description

This command performs a fresh installation of DTR, and reconfigures it
with configuration data from a tar file generated by the 'backup' command.
with configuration data from a tar file generated by the `backup` command.
The command starts by installing DTR, restores the configurations
stored on etcd, and then restores the repository metadata stored
on RethinkDB.

This command does not restore Docker images. You should implement a separate
restore procedure for the Docker images stored in your registry, taking in
restore procedure for the Docker images stored in your registry, taking into
consideration whether your DTR installation is configured to store images on
the filesystem or using a cloud provider.

Expand All @@ -53,7 +53,10 @@ the 'join' command.
| `--log-protocol` | The protocol for sending container logs: tcp, udp or internal. Default: internal [$LOG_PROTOCOL] |
| `--log-host` | Endpoint to send logs to, required if --log-protocol is tcp or udp [$LOG_HOST] |
| `--log-level` | Log level for container logs. Default: INFO [$LOG_LEVEL] |
| `--dtr-load-balancer` | Specify the domain name and port for the DTR load balancer [$DTR_LOAD_BALANCER] |
| `--dtr-external-url` | Specify the external domain name and port for DTR. If using a load balancer, use its external URL instead. [$DTR_EXTERNAL_URL] |
| `--etcd-heartbeat-interval "0"` | Set etcd's frequency (ms) that its leader will notify followers that it is still the leader. [$ETCD_HEARTBEAT_INTERVAL] |
| `--etcd-election-timeout "0"` | Set etcd's timeout (ms) for how long a follower node will go without hearing a heartbeat before attempting to become leader itself. [$ETCD_ELECTION_TIMEOUT] |
| `--etcd-snapshot-count "0"` | Set etcd's number of changes before creating a snapshot. [$ETCD_SNAPSHOT_COUNT] |
| `--ucp-insecure-tls` | Disable TLS verification for UCP [$UCP_INSECURE_TLS] |
| `--ucp-ca` | Use a PEM-encoded TLS CA certificate for UCP [$UCP_CA] |
| `--ucp-node` | Specify the host to install Docker Trusted Registry [$UCP_NODE] |
Expand Down