Hi all! Is there a way to create a clone of a VM including all its snapshots?
0. i have VM with pack of snapshots, i would to clone it, to test some upgrades.
here's what I tried:
1. create clone from "current" snapshot
2. copy all vm-xxx-state-* files to new VM
3. copy/paste config part from original VM, with replacing name, net0, virtio0, virtio0, vmgenid by proper values from new VM/location
GUI now sees snapshots, but, unable to restore with the error "qemu-img: Could not apply snapshot '123': Failed to load snapshot: No such file or directory"
console command, to check list of snapshots "/usr/bin/qemu-img info /var/lib/vz/images/112/vm-112-disk-0.qcow2" provides nothing, so, seems i missed smth
112 - fresh clone
Can you advise please, how to clone VM with all snapshots?
Proxmox VE 6.1-7
simple all-in-one node: no clustering, ceph and other magic)
0. i have VM with pack of snapshots, i would to clone it, to test some upgrades.
here's what I tried:
1. create clone from "current" snapshot
2. copy all vm-xxx-state-* files to new VM
3. copy/paste config part from original VM, with replacing name, net0, virtio0, virtio0, vmgenid by proper values from new VM/location
GUI now sees snapshots, but, unable to restore with the error "qemu-img: Could not apply snapshot '123': Failed to load snapshot: No such file or directory"
console command, to check list of snapshots "/usr/bin/qemu-img info /var/lib/vz/images/112/vm-112-disk-0.qcow2" provides nothing, so, seems i missed smth
112 - fresh clone
Can you advise please, how to clone VM with all snapshots?
Proxmox VE 6.1-7
simple all-in-one node: no clustering, ceph and other magic)