Feature request - Restore on same drive as origin


Well-Known Member
Mar 26, 2018

I have 2 SDD's for Proxmox:

  PV         VG         Fmt  Attr PSize   PFree
  /dev/md0   wd-raid1   lvm2 a--    2,73t   1,43t
  /dev/sda4  pve-root   lvm2 a--  439,20g      0
  /dev/sdb1  pve-data   lvm2 a--  894,25g      0
  /dev/sde1  pve-backup lvm2 a--    1,82t 355,01g
  VG         #PV #LV #SN Attr   VSize   VFree
  pve-backup   1   2   0 wz--n-   1,82t 355,01g
  pve-data     1   6   0 wz--n- 894,25g      0
  pve-root     1  13   0 wz--n- 439,20g      0
  wd-raid1     1   2   0 wz--n-   2,73t   1,43t
  LV              VG         Attr       LSize   Pool    Origin Data%  Meta%  Move Log Cpy%Sync Convert
  backup-root     pve-backup -wi-ao----   8,00g
  backup-vm       pve-backup -wi-ao----   1,46t
  vm-101-disk-0   pve-data   Vwi-a-tz--   4,00m vm-data        12,50
  vm-101-disk-2   pve-data   Vwi-a-tz-- 200,00g vm-data        86,15
  vm-102-disk-0   pve-data   Vwi-a-tz--   4,00m vm-data        12,50
  vm-102-disk-2   pve-data   Vwi-a-tz-- 200,00g vm-data        71,55
  vm-300-disk-0   pve-data   Vwi-aotz--  40,00g vm-data        37,24
  vm-data         pve-data   twi-aotz-- 894,03g                36,94  19,27
  base-200-disk-0 pve-root   Vri---tz-k   4,00m vm-os
  base-200-disk-1 pve-root   Vri---tz-k  50,00g vm-os
  iso             pve-root   -wi-ao----  30,00g
  vm-100-disk-0   pve-root   Vwi-aotz--   8,00g vm-os          71,58
  vm-101-disk-0   pve-root   Vwi-a-tz--  32,00g vm-os          59,75
  vm-102-disk-0   pve-root   Vwi-a-tz--  50,00g vm-os          71,70
  vm-103-disk-0   pve-root   Vwi-a-tz-- 100,00g vm-os          32,93
  vm-104-disk-0   pve-root   Vwi-a-tz--   4,00g vm-os          93,95
  vm-105-disk-0   pve-root   Vwi-a-tz--   6,00g vm-os          94,26
  vm-300-disk-0   pve-root   Vwi-aotz--   4,00m vm-os          6,25
  vm-300-disk-1   pve-root   Vwi-aotz--  40,00g vm-os          91,13
  vm-301-disk-0   pve-root   Vwi-aotz--   4,00g vm-os          72,08
  vm-os           pve-root   twi-aotz-- 409,00g                40,88  20,61
  download        wd-raid1   -wi-ao---- 100,00g
  medias          wd-raid1   -wi-ao----   1,20t

When I restore a VM, Proxmox tell me if I want to restore on vm-os or vm-data, but it will restore all disks on the same storage.

For exemple, VM 102 has a disk on "vm-os", and another on "vm-data". If I choose "vm-os", the 2 disks will be restored on this pool. I can moove it after restore, but it will be better if we can choose separately the destination for each disks.
By default it tries to restore to the storages in the config. If you choose a custom storage all disks will be restored there.
Feel free to open an enhancement in our bug tracker: https://bugzilla.proxmox.com/
Ok, but in the backup drives ares listed in there own storages:

agent: 1
bios: ovmf
boot: c
bootdisk: scsi0
cores: 4
cpu: host
efidisk0: vm-data:vm-102-disk-0,size=4M
memory: 8192
name: HomeSRV
net0: virtio=DE:57:26:E3:36:FC,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: win10
protection: 1
scsi0: vm-os:vm-102-disk-0,discard=on,size=50G,ssd=1
scsi1: vm-data:vm-102-disk-2,discard=on,size=200G,ssd=1
scsi3: none,media=cdrom
scsihw: virtio-scsi-single
smbios1: uuid=baa8859b-bb3a-48e8-b4fb-bd392530b9e2
sockets: 1
tablet: 0
usb0: host=1-8
vga: qxl
vmgenid: 320cbcab-457b-4a37-9650-1ceb76b97be5

Not sure this is a bug, just Proxmox should ask for each disk.


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!