Bruno Zuber wrote:

I have installed backuppc 2.1.2pl1 on debian etch.

Currently i backup 7 servers, on 5 servers all works fine but:



On two server i got the following xferlog:

tarExtract: .

tarExtract: : checksum error at

tarExtract: Can't open /var/lib/backuppc/pc/dayta.brain-tec.ch/new/f %2f/ for empty output

  create     0       0/0           0 .

tarExtract: : checksum error at



the tar version on both machines is 1.16, the xfer method ist tar.



Whats going wrong?

See the message that was sent to this list by Holger 6 minutes before you posted:

that's a change in tar's exit code in version 1.16 which signals the fact that files changed while tar was reading them. This is non-fatal and is ignored in
BackupPC 3.0.0. If you don't want to upgrade, you can patch 2.1.2:

--- lib/BackupPC/Xfer/Tar.pm    Sun Jan  8 23:25:54 2006
+++ /tmp/Tar.pm Tue Jul  3 11:10:04 2007
@@ -198,7 +198,12 @@
         my $mesg;
         if ( sysread($t->{pipeTar}, $mesg, 8192) <= 0 ) {
             vec($$FDreadRef, fileno($t->{pipeTar}), 1) = 0;
-           if ( !close($t->{pipeTar}) ) {
+           if ( !close($t->{pipeTar}) && $! != 256 ) {
+                #
+                # Tar 1.16 uses exit status 1 (256) when some files
+                # changed during archive creation.  We allow this
+                # as a benign error and consider the archive ok
+                #
$t->{tarOut} .= "Tar exited with error $? ($!) status\n";
                $t->{xferOK} = 0 if ( !$t->{tarBadExitOk} );
            }

Nils Breunese.

Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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