Set up live backups for all VMs #433

Merged
greg merged 21 commits from feature/qemu_snapshots into master 2022-10-22 11:52:27 +00:00
Showing only changes of commit 95941c830f - Show all commits

View File

@ -18,8 +18,7 @@ virsh snapshot-create-as --domain $1 \
--disk-only \
--diskspec vda,snapshot=external
borg create -v --stats \
$REPOSITORY::$1_$(date +%F_%H-%M) \
borg create -v $REPOSITORY::$1_$(date +%F_%H-%M) \
/var/lib/libvirt/images/$1.qcow2 \
/root/backups/vm_meta/$1.xml