cloning linux KVM VMs for backups
hi all,
just want to know how you all clone your VMs on linux KVM as i have done it this way and it works
all my vm file(s) are stored on my KVM server here -
/home/KVM/script.qcow2
i have only one vm atm but you get the jist, there all in /home/KVM
i have noticed in virt-manager if you right click on your vm and select clone it says it must be paused or switched off ie you cant do hot backups, just cold
i have created a samba share on my KVM server so i can access it from other machines, so i can save the files somewhere else for safe keeping, location /home/files/
cp -f /home/KVM/script.qcow2 /home/files/
[root@kvm ~]# rm -f /home/KVM/script.qcow2
[root@kvm ~]# cp -f /home/files/script.qcow2 /home/KVM/
once i have done this, i made a new vm from my clone, added the same network to it and i can succesfully log in and access the apache server on it
just wondered how you guys do it
rob
|