mirror of https://github.com/docker/docs.git
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:
parent
acbc446d47
commit
d4474a39ef
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue