1
0
mirror of https://github.com/docker/docs.git synced 2026-11-03 11:12:47 +03:00

Clean up Data backup command

The restore procedure was incorrect. Simplifying the command to work with the restore.
This commit is contained in:
Andy Clemenko
2018-09-27 10:22:41 -04:00
committed by GitHub
parent 718784351c
commit ff38e269b2

View File

@@ -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 %}