Backup scripts for kernal virtual machines using libvirt.
- 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 |
||
|---|---|---|
| kvm-backup-images.sh | ||
| kvm-backup-rbd.sh | ||
| kvm-backup-zvol-iscsi.sh | ||
| License.txt | ||
| README.md | ||
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.