10 Commits

Author SHA1 Message Date
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
25f11d5535 Update backup scripts for remote borg repo, add zvol-iscsi backup, and fix bugs
- Update copyright year to 2026
- Point BORG_REPO to remote backup host
- Fix RBD pid file name to avoid collision with images backup
- Fix snapshot count typo and off-by-one error in RBD cleanup
- Add error handling for rbd snap create
- Fix prune log messages to reference domain instead of image
- Add new kvm-backup-zvol-iscsi.sh for ZVol over iSCSI backups
2026-03-11 22:18:44 -05:00
2df48f6b77 Follow backup naming of images in RBD 2024-04-19 08:49:37 -05:00
8362d93969 Update rbd to work with snapshots and virsh domblklist. Refactor images backup to newer code style. 2024-04-19 08:45:01 -05:00
9d699a27ef Fix status checking for pipes. 2023-08-23 13:56:58 -05:00
45459c1e50 Add pid file to prevent concurrent runs, add recovery for snapshot existing prior to backup, and add progress bar. 2023-01-05 00:37:37 -06:00
5886973eed Fix prune options 2022-12-30 02:24:47 -06:00
3d381297f2 Add domain specific option 2022-12-29 16:03:17 -06:00
eab8054538 Add borg answers for automation 2022-12-29 12:56:30 -06:00
84f24980c7 first commit 2022-12-29 12:42:17 -06:00