This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
computing:virtmanagerhell [2023/01/15 17:37] – oemb1905 | computing:virtmanagerhell [2023/01/15 17:44] – oemb1905 | ||
---|---|---|---|
Line 124: | Line 124: | ||
dd if=/ | dd if=/ | ||
| | ||
- | To create a backup volume inside a guest. First, | + | To create a backup volume inside a guest you create the volume, attach it, and then shell into the guest and format, mount, and create an fstab entry. First, |
+ | |||
+ | cd / | ||
+ | qemu-img create -f qcow2 vm1-backup 32G | ||
+ | | ||
+ | --source / | ||
+ | --target vdb \ | ||
+ | --persistent | ||
+ | |||
+ | Then, on the guestOS: | ||
+ | |||
mkdir /mnt/backup | mkdir /mnt/backup | ||
mkfs.ext4 /dev/vdb | mkfs.ext4 /dev/vdb |