milkey-mouse / backup-vm

Back up a full image of a libvirt-based VM using Borg
MIT License
37 stars 9 forks source link

Retry block commit in case of failure #8

Closed milkey-mouse closed 6 years ago

milkey-mouse commented 6 years ago

Retry the commit part up to 3x, waiting 5 seconds between each try. The commit sometimes fails on my machine. Perhaps add backup-vm --retry-merge domain option or something to run domBlockJobAbort on all existing disks.