Making Copy of KVM VM
Posted: 2017/11/23 09:41:11
Hi,
I do have 2 VMs running on CentOS 7 KVM environment.
I want to make either clone of VMs or copy of VMs as a backup.
Following is my scenario and advices on how to do that would be highly appreciated.
1.) VM-1 have only single qcow2 image deployed. qcow2 was originally 50GB and I deployed it as 1000GB using qcow2 expand. Currently this disk only have 65GB. If I copy this file using cp command and dump xml file would that suffice ? Or if I clone this VM using virt-clone how much size will it take? 1000GB or 65GB ?
2.) VM-2 have 2 qcow2 disks in the VM. How can I make copy of this VM.
Thanks in advance.
GPMPA
I do have 2 VMs running on CentOS 7 KVM environment.
I want to make either clone of VMs or copy of VMs as a backup.
Following is my scenario and advices on how to do that would be highly appreciated.
1.) VM-1 have only single qcow2 image deployed. qcow2 was originally 50GB and I deployed it as 1000GB using qcow2 expand. Currently this disk only have 65GB. If I copy this file using cp command and dump xml file would that suffice ? Or if I clone this VM using virt-clone how much size will it take? 1000GB or 65GB ?
2.) VM-2 have 2 qcow2 disks in the VM. How can I make copy of this VM.
Thanks in advance.
GPMPA