Backup VM proxmox using command DD in live CD

marioyhzkiell

New Member
Feb 12, 2024
1
0
1
hello everyone, I really need help to backup VM proxmox using DD command on live CD because my proxmox host error/not booting (loading initial initramd), I want to backup this proxmox vm from live CD using DD command and send it to another server with ssh

live cd :
# vgscan
# vgchange -ay
# dd if=/dev/pve/vm-100-disk-0 | ssh root@x.x.x.x dd of=/path/backup-vm.img

this method successfully backup the vm with raw backup-vm.img image to the destination ssh server, my question is is this method valid and can it be restored to new proxmox or restored to hard disk?

thank you all.