Mar 26
2023
Rsync copy
rsync -azP -e "ssh -p PORT_NUMBER" source destination
rsync -azP -e "ssh -p PORT_NUMBER" source destination
virsh snapshot-create-as --domain ${VM}
--name "backup-${VM}" \
--atomic \
--disk-only \
--no-metadata \
--diskspec vda,file=${SNAP}/backup-snapshot-${VM} \
--diskspec vdb,snapshot=no