From 8142ed164c5e1b53772d328f03532e5d13ea89f0 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Mon, 8 Jul 2024 01:31:49 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d44e778..09aabaf 100644 --- a/README.md +++ b/README.md @@ -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