I have a .qcow2 file of a VM that I used to have in a 'directory' storage system. I have a backup of this VM from a week ago that I used to "restore" the VM with and then restored it to a new location in my datacenter storage that I made ZFS (with thin provision checked when I made that storage).
This all works, but there is a week of no backups that would be nice to have. I already re-installed proxmox. I guess I could (I think?) make a regular directory storage and load the qcow2 file in there, make a backup of the current data, and then restore again to the new ZFS storage system.
But I'm wondering if I could just directly do this right now.
I found this command
Which tells me my VM is now at:
I'm wondering if I could just do something akin to
That also seems potentially dangerous. Can this be done?
edit: Okay, I tried the dd thing. It didn't work. It said "No space left on device". So that must not be the way to do this.
This all works, but there is a week of no backups that would be nice to have. I already re-installed proxmox. I guess I could (I think?) make a regular directory storage and load the qcow2 file in there, make a backup of the current data, and then restore again to the new ZFS storage system.
But I'm wondering if I could just directly do this right now.
I found this command
pvesm path SlowVMs:vm-120-disk-0
Which tells me my VM is now at:
/dev/zvol/poolData/VMs/vm-120-disk-0
I'm wondering if I could just do something akin to
dd if=/path/to/my/qcow/vm-123-disk-0.qcow2 of=/dev/zvol/poolData/VMs/vm-120-disk-0
That also seems potentially dangerous. Can this be done?
edit: Okay, I tried the dd thing. It didn't work. It said "No space left on device". So that must not be the way to do this.
Last edited: