mirror of https://github.com/docker/docs.git
Merge pull request #7436 from clemenko/patch-7
Clean up Data backup command
This commit is contained in:
commit
13f5d91ff3
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue