Hi All,
I'm using vzdump to backup my VEs. After a successful vzdump, I am unable to restore from some of the vzdump'ed tgz files. I've already tried restoring them on another HN with the same result:
versions:
CentOS release 4.6 (Final)
vzyum-2.4.0-11
vzrpm43-4.3.3-7_nonptl.6
vzdump-1.0-2
vzctl-3.0.22-1
vzquota-3.0.11-1
vzrpm44-4.4.1-22.5
vzrpm44-python-4.4.1-22.5
vzrpm43-python-4.3.3-7_nonptl.6
vztmpl-centos-4-2.0-2
ovzkernel-smp-2.6.9-023stab046.2
vzpkg-2.7.0-18
vzctl-lib-3.0.22-1
vzdump:
# vzdump --compress --suspend 1004
INFO: starting backup for VPS 1004 (/vz/private/1004)
INFO: starting first sync /vz/private/1004 to /vz/dump/tmp8931
file has vanished: "/vz/private/1004/var/amavisd/tmp/.spamassassin9965X7Ijj7tmp"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T141335-07803/email.txt"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T142204-07778/email.txt"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T142816-07997/email.txt"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T144304-08180/email.txt"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T150311-09631/email.txt"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T150337-09492/email.txt"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T151451-09761/email.txt"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T152657-09965/parts/p001"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T152657-09965/parts/p002"
file has vanished: "/vz/private/1004/var/amavisd/tmp/amavis-20080707T152657-09965/parts/p003"
file has vanished: "/vz/private/1004/var/spool/postfix/active/6733D3B00A3"
file has vanished: "/vz/private/1004/var/spool/postfix/deferred/1/180363B005C"
rsync warning: some files vanished before they could be transferred (code 24) at main.c(702)
INFO: suspend vps
Setting up checkpoint...
suspend...
get context...
Checkpointing completed succesfully
INFO: final sync /vz/private/1004 to /vz/dump/tmp8931
INFO: resume vps
Resuming...
INFO: vps is online again after 175 seconds
INFO: Creating archive '/vz/dump/vzdump-1004.tgz' (/vz/dump/tmp8931/1004)
Total bytes written: 2901596160 (2.8GiB, 3.1MiB/s)
INFO: backup for VPS 1004 finished successful (38.92 minutes)
restoring:
# vzdump --restore vzdump-1004.tgz 9999
INFO: extracting archive 'vzdump-1004.tgz'
tar: Skipping to next header
zcat: vzdump-1004.tgz: invalid compressed data--crc error
zcat: vzdump-1004.tgz: invalid compressed data--length error
tar: Error exit delayed from previous errors
unable to extract archive at /usr/bin/vzdump line 563.
Would appreciate any pointers.
TIA,
-eric