cannot restore LXC from LZO and GZ

karnz

Renowned Member
Nov 23, 2015
60
3
73
Hello,

I cannot restore LXC from lzo backup and received this error.
extracting archive '/mnt/pve/nfs/dump/vzdump-lxc-100-2018_04_27-02_00_02.tar.lzo'
lzop: <stdin>: Checksum error
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Logical volume "vm-101-disk-1" successfully removed
TASK ERROR: command 'tar xpf - --lzop --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/101/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2

Tried to test backup file, got checksum error
lzop -t vzdump-lxc-100-2018_04_27-02_00_02.tar.lzo
testing vzdump-lxc-100-2018_04_27-02_00_02.tar.lzo
lzop: vzdump-lxc-100-2018_04_27-02_00_02.tar.lzo: Checksum error
FAILED

Restore will be OK if backup as non-compressed .tar but failed for both .lzo & .gz

Anyone can help or guide me please?
 
Thanks Dietmar, but backup process finished without error. So wondering what's wrong?

INFO: starting new backup job: vzdump 100 104 --mode snapshot --compress lzo --storage nfs --mailnotification always --mailto MY_E-MAIL --quiet 1
INFO: Starting Backup of VM 100 (lxc)
INFO: status = running
INFO: CT Name: HOSTNAME
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Using default stripesize 64.00 KiB.
For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100.
Logical volume "snap_vm-100-disk-1_vzdump" created.
WARNING: Sum of all thin volume sizes (1.22 TiB) exceeds the size of thin pool pve/data and the size of whole volume group (446.88 GiB)!
INFO: creating archive '/mnt/pve/nfs/dump/vzdump-lxc-100-2018_04_27-02_00_02.tar.lzo'
INFO: Total bytes written: 73969182720 (69GiB, 59MiB/s)
INFO: archive file size: 52.39GB
INFO: remove vzdump snapshot
Logical volume "snap_vm-100-disk-1_vzdump" successfully removed
INFO: Finished Backup of VM 100 (00:20:13)