Jeffrey writes:

> Can't call method "isCached" on an undefined value at
>   /usr/share/BackupPC/lib/BackupPC/Xfer/RsyncFileIO.pm line 165.

That isn't good.  This is the case where it is doing a random check
of the cached checksums (based on $Conf{RsyncCsumCacheVerifyProb}).
I am missing an error check just prior to this line of code.   An
error will occur if there is some problem open/reading the cached
checksum information.  A possible cause might be some file system
corruption.

I'd be curious what the error is.  Just prior to this line
you could add this code:

    if ( $err ) {
        $fio->log("Can't get rsync digests from $attr->{fullPath}"
                . " (err=$err, name=$f->{name})");
        $fio->{stats}{errorCnt}++;
        return -1;
    }

Alternatively, just set $Conf{RsyncCsumCacheVerifyProb} to 0.  This
code will be skipped, and I suspect it will fail further down and
there is an error check there.  Seeing the error number would be
helpful.

I would also try removing the --checksum-seed=32761 option from
$Conf{RsyncArgs} and trying the backup again.  This will disable
the use of cached checksums.

Craig

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to