I am getting the following 'failed: storage 'backup' does not exist' error when trying to restore a vzdump from another server to my proxmox instance. Moved it from proxmox 6 to 7.
All i want to know is how can i change the storage name in the VMA file from 'backup' to 'local-lvm'?
I tried this manually by extracting the file using the vma command from the commandline, changing the qemy-server.conf file and running 'vma create'. BUT that dit not work. If i try to restore the resulting file all i get is 'ERROR: couldn't determine archive info from '/var/lib/vz/dump/xxxxxxxxxxx.vma' (500)'
Any advise would be appreciated.
FULL ERROR BELOW:
restore vma archive: lzop -d -c /var/lib/vz/dump/vzdump-qemu-208-2022_11_19-16_44_47.vma.lzo | vma extract -v -r /var/tmp/vzdumptmp4009962.fifo - /var/tmp/vzdumptmp4009962
CFG: size: 420 name: qemu-server.conf
CFG: size: 157 name: qemu-server.fw
DEV: dev_id=1 size: 59055800320 devname: drive-scsi0
CTIME: Sat Nov 19 16:44:48 2022
error before or during data restore, some or all disks were not completely restored. VM 105 state is NOT cleaned up.
TASK ERROR: command 'set -o pipefail && lzop -d -c /var/lib/vz/dump/vzdump-qemu-208-2022_11_19-16_44_47.vma.lzo | vma extract -v -r /var/tmp/vzdumptmp4009962.fifo - /var/tmp/vzdumptmp4009962' failed: storage 'backup' does not exist
All i want to know is how can i change the storage name in the VMA file from 'backup' to 'local-lvm'?
I tried this manually by extracting the file using the vma command from the commandline, changing the qemy-server.conf file and running 'vma create'. BUT that dit not work. If i try to restore the resulting file all i get is 'ERROR: couldn't determine archive info from '/var/lib/vz/dump/xxxxxxxxxxx.vma' (500)'
Any advise would be appreciated.
FULL ERROR BELOW:
restore vma archive: lzop -d -c /var/lib/vz/dump/vzdump-qemu-208-2022_11_19-16_44_47.vma.lzo | vma extract -v -r /var/tmp/vzdumptmp4009962.fifo - /var/tmp/vzdumptmp4009962
CFG: size: 420 name: qemu-server.conf
CFG: size: 157 name: qemu-server.fw
DEV: dev_id=1 size: 59055800320 devname: drive-scsi0
CTIME: Sat Nov 19 16:44:48 2022
error before or during data restore, some or all disks were not completely restored. VM 105 state is NOT cleaned up.
TASK ERROR: command 'set -o pipefail && lzop -d -c /var/lib/vz/dump/vzdump-qemu-208-2022_11_19-16_44_47.vma.lzo | vma extract -v -r /var/tmp/vzdumptmp4009962.fifo - /var/tmp/vzdumptmp4009962' failed: storage 'backup' does not exist