Aha! I'm not insane!
The original tar has the problem. To test it, I became the backuppc user
and ran:
> /usr/share/backuppc/bin/BackupPC_tarCreate -t -h 62z62l1 -n -1 -s \* . >
> /tmp/test.tar
I then moved the tar over to my laptop (didn't want to expand the tar on the
server) and checked the md5sum to make sure the file on my laptop matched
that on my server. To extract the archive, I used:
> tar -xvf test.tar
so that I could see the output. I get a huge list of files with this error
at the end: tar: "Exiting with failure status due to previous errors"
Scrolling through the list of extracted files I find these errors (there may
be others):
> ./win7home/AppData/Local/Temp/Low/Windows Live Toolbar/
tar: Skipping to next header
./win7home/AppData/Local/Temp/fontconfig/cache/
and
> ./win7home/AppData/Local/Temp/Temporary Internet
> Files/Content.IE5/J3ASB6W8/
tar: Skipping to next header
./win7home/AppData/LocalLow/Adobe/
and
> ./win7home/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/9/
tar: Skipping to next header
./win7home/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/host/
The backup method for this particular machine is smb. I have tried the same
on another host which is backed up via rsync, and the tar was perfectly
normal. I'll test another machine that's backed up via smb to try to
determine whether the problem is specific to the machine or the method used.
Unfortunately, all of the machines backed up via smb are Windows 7
machines, so if the problem is related to specific files (or filenames), my
second test machine is likely to have the same culpable files.
In the meantime, I guess I'll put in an exclude to skip the
AppData/Local/Temp folder. No need to archive temporary files!
-Frank
On Wed, Nov 3, 2010 at 1:48 AM, Craig Barratt <
[email protected]> wrote:
> Frank,
>
> > Anyway, I thought I had it all figured out, but when I decrypt, gunzip,
> and untar the resulting file, I get some "tar: Skipping to next header"
> messages in the output, and, although I do get some files out of the
> archive, eventually tar just hangs.
>
> Does the original tar archive (prior to gzip and encrypt) work correctly?
>
> Craig
>
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/