Problem with backup restore help

JonasGz

New Member
Feb 13, 2021
1
0
1
25
When we try to restore a backup on another server, the following error appears, does anyone know any solution for this?



restore vma archive: lzop -d -c /var/lib/vz/dump/vzdump-qemu-102-2021_02_08-20_00_02.vma.lzo | vma extract -v -r /var/tmp/vzdumptmp2581.fifo - /var/tmp/vzdumptmp2581
TASK ERROR: command 'set -o pipefail && lzop -d -c /var/lib/vz/dump/vzdump-qemu-102-2021_02_08-20_00_02.vma.lzo | vma extract -v -r /var/tmp/vzdumptmp2581.fifo - /var/tmp/vzdumptmp2581' failed: got timeout


thanks!
 
Code:
root@mon-proxmox-3:/var/lib/vz/dump# more /etc/pve/storage.cfg
dir: local
    path /var/lib/vz
    content vztmpl,iso,backup

zfspool: mon-proxmox-3-pool
    pool rpool/data
    content images,rootdir
    nodes mon-proxmox-3,mon-proxmox-2
    sparse 0

zfspool: mon-proxmox-2-pool
    pool rpool/data
    content rootdir,images
    nodes mon-proxmox-2
    sparse 1

zfspool: mon-proxmox-1-pool
    pool rpool
    content rootdir,images
    nodes mon-proxmox-1
    sparse 1

dir: mon-proxmox-1_backups
    path /rpool/backups
    content images,backup
    maxfiles 1
    nodes mon-proxmox-1,mon-proxmox-3
    shared 0
 
Code:
root@mon-proxmox-3:/var/lib/vz/dump# pct restore 190 vzdump-lxc-118-2021_03_10-14_14_00.tar.lzo --storage=mon-proxmox-3-pool
unable to restore CT 190 - restoring rootfs to device mount is only possible by specifying -rootfs manually!
root@mon-proxmox-3:/var/lib/vz/dump# pct restore 189 vzdump-lxc-118-2021_03_10-14_14_00.tar.lzo --storage=mon-proxmox-3-pool
CT 189 already exists on node 'mon-proxmox-3'
 
oh oh..it is doing something!
Code:
pct restore 190 vzdump-lxc-118-2021_03_10-14_14_00.tar.lzo --storage=mon-proxmox-3-pool -rootfs mon-proxmox-3-pool:subvol-189-disk-0
extracting archive '/rpool/vz/dump/vzdump-lxc-118-2021_03_10-14_14_00.tar.lzo'
 
I was about to give up! I think it worked..have to test it tomorrow, this was not easy!


root@mon-proxmox-3:/var/lib/vz/dump# pct restore 190 vzdump-lxc-118-2021_03_10-14_14_00.tar.lzo --storage=mon-proxmox-3-pool -rootfs mon-proxmox-3-pool:subvol-189-disk-0
extracting archive '/rpool/vz/dump/vzdump-lxc-118-2021_03_10-14_14_00.tar.lzo'
Total bytes read: 11408537600 (11GiB, 51MiB/s)
Detected container architecture: amd64
 
seems like I created 189 subvol from container I created first..then used that volume to restore to a new container id 190!

I have to duplicate 189vol to a new190 volume and detach 189vol from 190 ct and attach 190vol to 190ct! lol!