why my VM backup doesn't contain vm disk?

mili

New Member
May 27, 2024
6
3
3
Hi
I want to transfer my VMs from my old HP g8 Server (proxmox 8.2.1) to my new HP g9 Server (proxmox 8.3.1), but when I backup my VM on old server, the backup doesn't contain VM disk, only contains configuration files, my VM disk size is 150GB but my available backup storage is 85GB, Can be that the reason!? if I add a 500GB backup storage, is backup ok?
............................................
my old and new server are in the same LAN network, how is good to use remote migrate instead of backup and restore !?

thanks
 

Attachments

  • Screenshot (86).png
    Screenshot (86).png
    98.7 KB · Views: 10
  • Screenshot (87).png
    Screenshot (87).png
    48.8 KB · Views: 10
my problem is now to restore the backup, I transfer my backup file to new server, but in restoring getting error about storage location
...........
root@radprox2025:~# qmrestore /var/lib/vz/dump/vzdump-qemu-104-2025_01_03-11_38_38.vma.zst 104
restore vma archive: zstd -q -d -c /var/lib/vz/dump/vzdump-qemu-104-2025_01_03-11_38_38.vma.zst | vma extract -v -r /var/tmp/vzdumptmp1140428.fifo - /var/tmp/vzdumptmp1140428
CFG: size: 519 name: qemu-server.conf
DEV: dev_id=1 size: 161061273600 devname: drive-scsi0
CTIME: Fri Jan 3 11:38:41 2025
error before or during data restore, some or all disks were not completely restored. VM 104 state is NOT cleaned up.
command 'set -o pipefail && zstd -q -d -c /var/lib/vz/dump/vzdump-qemu-104-2025_01_03-11_38_38.vma.zst | vma extract -v -r /var/tmp/vzdumptmp1140428.fifo - /var/tmp/vzdumptmp1140428' failed: storage 'SSD-D' does not exist
.........
in my old server the VM disk was on my second SSD Drive but in new server I have only One SSD Drive, what is the solution!? should I use migration instead of backup and restore?
 
I can not find the storage "SSD-D" on the system you try to restore on..
I try my best to keep the names the same for the storage even they might not be the same eg "VMData" but that is not always an option or good idea..
If you can make the storage "SSD-D" then i think you should be able to restore, is there a reason why migration was not the first option?

if you use the new Proxmox Datacenter Manager you can do migration over to Proxmox's not in the same Cluster if not using Ceph storage.

If you need more help then please add more information about your setup to better understand the options you have.
 
  • Like
Reactions: mili
thanks for your reply
I added -storage option (in my case -storage local-lvm) to qmrestore and restoration done successfully, after that I edit my vm conf file base on it's old config file and everything goes well
 
  • Like
Reactions: Kingneutron