Hello All,
I'm looking to extract one vma backup directly from one file.vma.zst.
I know I could unztd the file.vma.zst first, then use "vma extract" on this file, but the challenge is to use the standard output to not write the temp .vma file
When restoring backup, proxmox is using such command:
But it's not working when I try the same from the command line:
Did someone know how to correctly use this temp .fifo file (vma extract -r) to let me extract my file.vma.zst without writing the file.vma first ?
I'm looking to extract one vma backup directly from one file.vma.zst.
I know I could unztd the file.vma.zst first, then use "vma extract" on this file, but the challenge is to use the standard output to not write the temp .vma file
When restoring backup, proxmox is using such command:
Code:
zstd -q -d -c /mnt/pve/local-ext-hdd/dump/vzdump-qemu-1013-2022_06_28-16_53_40.vma.zst | vma extract -v -r /var/tmp/vzdumptmp1800767.fifo - /var/tmp/vzdumptmp1800767
But it's not working when I try the same from the command line:
Code:
set -o pipefail && zstd -q -d -c file.vma.zst | vma extract -v -r vzdumptmp.fifo - vzdumptmp
CFG: size: 292 name: qemu-server.conf
DEV: dev_id=1 size: 2147483648 devname: drive-scsi0
CTIME: Mon Jan 24 03:44:22 2022
vma: unable to open fifo vzdumptmp.fifo - No such file or directory
Trace/breakpoint trap
Did someone know how to correctly use this temp .fifo file (vma extract -r) to let me extract my file.vma.zst without writing the file.vma first ?
Last edited: