Skip to content

Commit 9d15f4b

Browse files
cherylq26joaofnfernandes
authored andcommitted
Fixed tar options and path for restoring images
`-z` option for tar is used to filter through gzip. This should be excluded for the restore as it was not used during the backup. The path is also fixed as it recreated the entire path within the volumes folder.
1 parent d01cb61 commit 9d15f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datacenter/dtr/2.4/guides/admin/backups-and-disaster-recovery.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ If you had DTR configured to store images on the local filesystem, you can
184184
extract your backup:
185185

186186
```none
187-
sudo tar -xzf {{ image_backup_file }} -C /var/lib/docker/volumes
187+
sudo tar -xf {{ image_backup_file }} -C /
188188
```
189189

190190
If you're using a different storage backend, follow the best practices

0 commit comments

Comments
 (0)