[QMRESTORE] restore remote backup tgz ok - lzo ko

texilee

Member
Feb 6, 2013
7
0
21
Hi team,

I love ProxmoxVE :-))

non critical question: when I have to restore a "tgz" backup I use this commands

root@restoreserver# ssh root@IP 'cat /path/vzdump-qemu-156-2013_02_05-11_08_24.tgz' | qmrestore - ID --storage NAME

It's works fine, but this command related to a "lzo" backup doesn't works ( tar need --lzop option )


192.168.24.2
pveversion pve-manager/2.2/c1614c8c


root@192.168.24.1:~# ssh -l root 192.168.24.2 'cat /mnt/pve/xxxxxxx-backup/dump/vzdump-qemu-156-2013_02_05-11_08_24.tar.lzo ' | qmrestore - 120 --storage DATASTORE
root@192.168.24.2's password:
tar: Archive is compressed. Use --lzop option
tar: Error is not recoverable: exiting now
starting cleanup
command 'zcat -f|tar xf - '--to-command=/usr/lib/qemu-server/qmextract --storage DATASTORE1'' failed: exit code 2



ty