1
0
mirror of https://github.com/docker/docs.git synced 2026-10-29 20:39:05 +03:00

Removing unnecessary -z flag on tar command.

To extract a tar file, you only need `tar -xf`. The `-z` is only needed for gzipped files. The default local storage DTR backup file format is just .tar.
This commit is contained in:
Derrick Miller
2018-04-18 15:07:24 -04:00
committed by Joao Fernandes
parent acbc446d47
commit d4474a39ef

View File

@@ -44,7 +44,7 @@ If you had DTR configured to store images on the local filesystem, you can
extract your backup:
```none
sudo tar -xzf {{ image_backup_file }} -C /var/lib/docker/volumes
sudo tar -xf {{ image_backup_file }} -C /var/lib/docker/volumes
```
If you're using a different storage backend, follow the best practices