James Coleman e9cae05639 Fix zvol-iscsi backup: fd conflict, case-insensitive zvol lookup, and snapdev handling
- Use fd 3 for domain list to avoid stdin conflicts with inner reads
- Resolve zvol names case-insensitively to match lowercased iSCSI IQNs
- Toggle snapdev=visible/hidden so snapshot block devices appear for dd
- Wait for snapshot device with udevadm settle before reading
- Pass volsize to pv for accurate progress display
- Document volmode=dev prerequisite to avoid zvol_create_minors deadlock
2026-03-12 17:55:31 -05:00
2022-12-29 12:42:17 -06:00

KVM Backup Scripts

These are scripts I wrote to perform backup of KVM images in my homelab environment. I am publishing them here for the case it is useful to someone. These scripts backups to a (borg backup)[https://borgbackup.readthedocs.io/en/stable/index.html] archive, as that is my favorite backup software.

Description
Backup scripts for kernal virtual machines using libvirt.
Readme 62 KiB
Languages
Shell 100%