I have an ubuntu 10.04 server running my VMs on kvm/qemu. I've been manually pausing my VMs (using virt-manager gui) and then copying the /var/lib/libvirt folder to an external usb drive at /mnt/usbexterno This obviously is far from ideal. I need a solution to run a backup everynight.
I thougt about using a cron job with a script to pause the VMs and copy the files to the drive. I've read on a forum that I could use virsh to save the VM state to a file, but I dont think thats what I need, since I want a full backup of everything in case the server goes boom!
So, short version. I need something to run a daily backup of my VMs to an external usb drive, the VMs can be paused during the night. Theres no GUI available on the server.
Any suggestions ?