Update README.md

This commit is contained in:
Russell Ballestrini 2024-07-08 01:31:49 +00:00
parent acbb403427
commit 8142ed164c

View file

@ -97,10 +97,10 @@ This section explains how to restore a KVM instance from a ZFS backup using the
First, extract the tar archive to get the ZFS snapshot file and the XML configuration file. Use the `--strip-components` option to remove the leading directory components if necessary.
```bash
tar -xvf /mnt/personal/backup/virt-back/1_akuma.tar --strip-components=1 -C /mnt/personal/backup/virt-back
tar -xvf /mnt/personal/backup/virt-back/1_akuma.tar --strip-components=4 -C /mnt/personal/backup/virt-back
```
This command will extract the files directly to the `/mnt/personal/backup/virt-back` directory, removing the leading directory component.
This command will extract the files directly to the `/mnt/personal/backup/virt-back` directory, removing the leading directory components.
#### 2. Restore the ZFS Snapshot to a New Dataset