#!/bin/bash
vm=$1
echo MIGRATING $vm ...
virsh migrate --p2p $vm --live --verbose --undefinesource --persistent --copy-storage-all --abort-on-error qemu+ssh://mother.onlink/system
sudo mv /var/backups/vm/aunt/* /var/backups/vm/mother