Presumably the problem is in rsync-bpc: bpc_sysCalls.c
int bpc_sysCall_checkFileMatch(char *fileName, char *tmpName, struct
file_struct *rsyncFile,
char *file_sum, off_t fileSize)
{
bpc_attrib_file *fileOrig, *file;
char poolPath[BPC_MAXPATHLEN];
if ( !(fileOrig = bpc_attribCache_getFile(&acNew, fileName, 0, 0)) ) {
/*
* Hmmm. The file doesn't exist, but we got deltas suggesting the file
is
* unchanged. So that means the generator found a matching pool file.
* Let's try the same thing.
*/
if ( bpc_sysCall_poolFileCheck(fileName, rsyncFile)
|| !(fileOrig = bpc_attribCache_getFile(&acNew, fileName, 0,
0)) ) {
bpc_logErrf("bpc_sysCall_checkFileMatch(%s): file doesn't exist\n",
fileName);
return -1;
}
}
...
But the zero length file (with md5sum
d41d8cd98f00b204e9800998ecf8427e) is not in the pool.
Presumably, one should add a check to eliminate...
[email protected] wrote at about 10:36:55 -0400 on Monday, May 25, 2020:
> Seems like these are all the zero length files...
> Could it be that backuppc is checking for file length rather than file
> existence???
>
>
> Note: when I delete the backup and run it again, the *exact* same
> "file doesn't exist' errors reappears (even though a new btrfs snapshot
> has been created). So I am pretty sure it is not a filesystem issue
> but rather likely a bug in backuppc...
>
>
> [email protected] wrote at about 10:00:31 -0400 on Monday, May 25, 2020:
> > I am still occasionally but not at all consistently getting errors of
> form:
> >
> Rbpc_sysCall_checkFileMatch(var/lib/spamassassin/3.004002/updates_spamassassin_org/STATISTICS-set3-72_scores.cf.txt):
> file doesn't exist
> >
> > Here is some background:
> > - Only seems to occur on full backups
> > - These messages correspond to files that have changed or been added
> since the previous backup
> > - However, they only occur on some incrementals and only for a small
> subset of the changed files, even when they do occur
> > - The files are still backed up properly
> > - The files never 'vanished' or changed since I am using read-only btrfs
> snapshots
> > - My system is rock-solid and I have not had any other file system
> troubles
> >
> > Is this really an error?
> > What is causing it?
> > Why does it happen seemingly randomly?
> >
> >
> > _______________________________________________
> > 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/
>
>
> _______________________________________________
> 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/
_______________________________________________
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/