Jean-Marc,

Thanks for checking.  While the compressed files are different, we should
check if the uncompressed contents are the same.  Please try this:

BackupPC_zcat /var/lib/BackupPC/cpool/4e/62/4e62ae8115cd3467dd5fd3a6b3a2c4d1
> /tmp/file1.out
BackupPC_zcat /var/lib/BackupPC/cpool/4e/62/4e62ae8115cd3467dd5fd3a6b3a2c4d101
> /tmp/file2.out
cmp /tmp/file1.out /tmp/file2.out
rm -f /tmp/file1.out /tmp/file2.out


Yes, v4 doesn't use hardlinks, so that find command will print every pool
file.

Craig


On Mon, Nov 5, 2018 at 4:07 AM Jean-Marc <[email protected]> wrote:

> Hi Craig,
>
> Le 31/10/2018 à 18:12, Craig Barratt via BackupPC-users a écrit :
> >
> >     ls -l /var/lib/BackupPC/cpool/4e/62/4e62ae8115cd3467dd5fd3a6b3a2c4d1*
> >
> > I'm guessing there will be two files:
> >
> >     /var/lib/BackupPC/cpool/4e/62/4e62ae8115cd3467dd5fd3a6b3a2c4d1
> >     /var/lib/BackupPC/cpool/4e/62/4e62ae8115cd3467dd5fd3a6b3a2c4d101
> >
> Yes, there is exactly these 2 files, but...
>
> -r--r--r--. 1 backuppc backuppc 60875 16 déc.   2016
> 4e62ae8115cd3467dd5fd3a6b3a2c4d1
> -r--r--r--. 1 backuppc backuppc 60183 23 oct.  02:41
> 4e62ae8115cd3467dd5fd3a6b3a2c4d101
>
> Oooops ! Not the same size.
>
> And the first one is way too old, i haven't any backup who's so old.
>
> The first file is from an old version (3.3.1 from centos repo), upgraded
> to 4.2.1 (github) recently.
>
> > If so, are they identical?  Eg, use cmp:
> >
> >
>  cmp /var/lib/BackupPC/cpool/4e/62/4e62ae8115cd3467dd5fd3a6b3a2c4d1 
> /var/lib/BackupPC/cpool/4e/62/4e62ae8115cd3467dd5fd3a6b3a2c4d101
> >
> cmp 4e62ae8115cd3467dd5fd3a6b3a2c4d1 4e62ae8115cd3467dd5fd3a6b3a2c4d101
>
> 4e62ae8115cd3467dd5fd3a6b3a2c4d1 4e62ae8115cd3467dd5fd3a6b3a2c4d101 are
> differents: octet 4, line 1
>
> I found an old thread with this command :
>
> find cpool -type f -link 1
>
> and there is _a lot_ of files reported (there was too much, i just
> stopped the command).
>
> (nightly cleaning seems ok, btw)
>
> Thanks
>
> JM
>
>
>
>
> _______________________________________________
> 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/

Reply via email to