qcow2 copy

tincboy

Renowned Member
Apr 13, 2010
466
3
83
As in Proxmox 2.3 the qcow2 is default HDD format, I need to now how can I copy it,
With the raw format I simply use the cp command to copy the HDD drive perfectly and sime times when the file was on bad sector the dd command worked well
Is it still possible to use cp and dd with qcow2 commands to make backup a VM data? doesn't cp or dd make the copied file corrupt?
 
you can only copy/backup disk images safely if the VM is either suspended or turned off. this goes for RAW and qcow2 alike.

as for copying, its the very same procedure as with RAW images. you either use "cp --sparse=always" or "rsync --sparse"
 
As in Proxmox 2.3 the qcow2 is default HDD format, I need to now how can I copy it,
With the raw format I simply use the cp command to copy the HDD drive perfectly and sime times when the file was on bad sector the dd command worked well
Is it still possible to use cp and dd with qcow2 commands to make backup a VM data? doesn't cp or dd make the copied file corrupt?

you can also use new proxmox 2.3 backup feature, it's working on running vm with files (raw,qcow2) too now.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!