Hi Craig,

Thanks for helping walk me through the application of the patch. It
definitely seemed to take care of my issue. The host in question now backs
up successfully.

Also, thanks to Bernardo for further info about applying patches. 

Justin Best
503.906.7611 Voice
561.828.0496 Fax

-----Original Message-----
From: Craig Barratt [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 01, 2006 3:22 PM
To: Justin Best
Cc: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Unexpected end of tar archive

"Justin Best" writes:

> I'm running BackupPC (2.1.1-2sarge1) on Debian Sarge. For details on how
my
> server is set up precisely, see attached document, BackupPC on Debian
> Sarge.txt

Nice docs.

> I'm successfully backing up 13 of the Windows XP hosts in my network to
the
> BackupPC server via SMB. However, there is one machine that I keep getting
> an error which states "Unexpected end of tar archive". I even swapped
> BackupPC servers, and the same error is taking place when backing up the
> same client PC, but none others.

Please try the following patch to BackupPC_tarExtract.

Craig

--- BackupPC_tarExtract 2005-12-11 15:52:59.000000000 -0800
+++ BackupPC_tarExtract.new     2006-01-12 11:57:58.859704000 -0800
@@ -102,7 +102,7 @@
 #                 Copyright 1998 Stephen Zander. All rights reserved.
 #
 my $tar_unpack_header
-    = 'Z100 A8 A8 A8 A12 A12 A8 A1 Z100 A6 A2 Z32 Z32 A8 A8 A155 x12';
+    = 'Z100 A8 A8 A8 a12 A12 A8 A1 Z100 A6 A2 Z32 Z32 A8 A8 A155 x12';
 my $tar_header_length = 512;
 
 my $BufSize  = 1048576;     # 1MB or 2^20



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to