qmrestore: small bug

giner

Member
Oct 14, 2009
239
0
16
42
Tokyo
qmrestore doesn't catch an error during restore when source "storage" is disalbed:
Code:
$ qmrestore /mnt/pve/backup-stop/vzdump-qemu-103-2010_09_18-04_27_47.tgz 118
INFO: restore QemuServer backup '/mnt/pve/backup-stop/vzdump-qemu-103-2010_09_18-04_27_47.tgz' using ID 118
INFO: extracting 'qemu-server.conf' from archive
INFO: extracting 'vm-disk-virtio0.raw' from archive
INFO: storage 'drbd-test-storage' is disabled
INFO: tar: vm-disk-virtio0.raw: Cannot write: Broken pipe
INFO: tar: 4617: Child returned status 255
INFO: tar: Skipping to next header
INFO: tar: Archive contains `\354\a\362\247S\331^-1\0\200@' where numeric off_t value expected
INFO: tar: Archive contains `\2032\276|p\302\002' where numeric mode_t value expected
INFO: tar: Archive contains `\0@@\020\020@#' where numeric uid_t value expected
INFO: tar: Archive contains obsolescent base-64 headers
...