mirror of
https://github.com/docker/docs.git
synced 2026-04-02 17:28:55 +07:00
Clean up Data backup command
The restore procedure was incorrect. Simplifying the command to work with the restore.
This commit is contained in:
@@ -63,7 +63,7 @@ and creating a tar archive of the [dtr-registry volume](../../architecture.md):
|
||||
{% raw %}
|
||||
```none
|
||||
sudo tar -cf {{ image_backup_file }} \
|
||||
$(dirname $(docker volume inspect --format '{{.Mountpoint}}' dtr-registry-<replica-id>))
|
||||
-C /var/lib/docker/volumes/ dtr-registry-<replica-id>
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user