Dear Craig,

I tried to confirm that the files causing the problem are identical, but failed to locate them at the suggested position.

According to your suggestion below, for a digest of

5dbce632c48570f479b92fa0d8b068cb

the ls command should read (backuppc folder in my case uses only small letters)

ls -l /var/lib/backuppc/cpool/5d/bc/5dbce632c48570f479b92fa0d8b068cb*

Is that correct?

The folder "5d" doesn't exist in the cpool directory. Actually, the cpool directory only contains single character folders and hasn't been updated since 2015 it seems. There is another directory called pool (last updated today) and this one contains two-character folders. However, also there the folder "5d" is missing. The folders "5c" and "5e" on the other hand are present.

I finally found the file in "5c":

/var/lib/backuppc/pool/5c/bc/5dbce632c48570f479b92fa0d8b068cb

But there was no second identical file, as suggested below, called

/var/lib/backuppc/pool/5c/bc/5dbce632c48570f479b92fa0d8b068cb01

Best regards,
Thorsten

On 31-Oct-18 6:12 PM, Craig Barratt via BackupPC-users wrote:
Jean-Marc,

What is the output from these commands:

    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

If so, are they identical?  Eg, use cmp:

    cmp /var/lib/BackupPC/cpool/4e/62/4e62ae8115cd3467dd5fd3a6b3a2c4d1 
/var/lib/BackupPC/cpool/4e/62/4e62ae8115cd3467dd5fd3a6b3a2c4d101

While this shouldn't happen (multiple identical pool files), BackupPC_tarExtract shouldn't consider this a fatal error.  It will just use one of the matching files, and everything will be fine.  I'll improve the exit logic to make it just a transfer error, not a fatal error.

Craig


On Wed, Oct 31, 2018 at 9:08 AM Jean-Marc <[email protected] <mailto:[email protected]>> wrote:

    (re-posting, mailing list seems to not allow html mails)

    Hi,

    Seems to be kind of a duplicate, but can't find an answer.

    Since 2 days, full backups from a samba server are failing.

    Here is some logs.

    2018-10-30 22:17:02 Removing prior partial backup #209
    2018-10-30 22:17:02 BackupPC_backupDelete: removing #209
    2018-10-30 22:17:02 BackupPC_backupDelete: Merge into backup 208
    2018-10-30 22:21:12 BackupPC_refCountUpdate: host 10.11.12.13 got 0
    errors (took 250 secs)
    2018-10-30 22:21:12 Finished BackupPC_backupDelete, status = 0 (running
    time: 250 sec)
    2018-10-30 22:21:27 full backup started for directory /home/data
    2018-10-30 23:26:40 Got fatal error during xfer (BackupPC_tarExtract
    exited with fail status 256)
    2018-10-30 23:26:45 Backup aborted (BackupPC_tarExtract exited with
    fail
    status 256)

    Excluded (shares for windows machines, so...) :
    .~lock.*
    Thumbs.db

    XferMethod : tar
    ClientCharsetLegacy : iso-8859-1

    Tar version on client : 1.15.1
    Logs :

    XferLOG file /var/lib/BackupPC//pc/10.11.12.13/XferLOG.209.z
    <http://10.11.12.13/XferLOG.209.z> created
    2018-10-30 20:00:10
    Backup prep: type = full, case = 4, inPlace = 0, doDuplicate = 0,
    newBkupNum = 209, newBkupIdx = 5, lastBkupNum = 208, lastBkupIdx = 4
    (FillCycle = 0, noFillCnt = 2)
    Running: /usr/bin/ssh -q -x -n -l root 10.11.12.13 env LC_ALL=C
    /bin/tar
    -c -v -f - -C /home/data --totals
    --exclude=\\\*.\\\[Mm\\\]\\\[Pp\\\]\\\[2-4g\\\]
    --exclude=\\\*.\\\[Jj\\\]\\\[Pp\\\]\\\[Gg\\\]
    --exclude=\\\*.\\\[Mm\\\]\\\[Oo\\\]\\\[Vv\\\]
    --exclude=\\\*.\\\[Pp\\\]\\\[Nn\\\]\\\[Gg\\\]
    --exclude=\\\*.\\\[Aa\\\]\\\[Vv\\\]\\\[Ii\\\]
    --exclude=\\\*.\\\[Ii\\\]\\\[Ss\\\]\\\[Oo\\\] --exclude=Trash\\\*
    --exclude=\\\[Ii\\\]map\\\[Mm\\\]ail --exclude=parent.lock
    --exclude=.~lock.\\\* --exclude=Thumbs.db .
    full backup started for directory /home/data
    Xfer PIDs are now 9528,9527
    tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract: got Full = 1
    tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract starting...
    (XferLogLevel = 1)

    [190000+ lines]
    somewhere in middle :

    tarExtract: bpc_poolWrite_write: got 2 matching files for digest
    4e62ae8115cd3467dd5fd3a6b3a2c4d1


    tarExtract: Done: 1 errors, 179035 filesExist, 56064673437 sizeExist,
    38920742789 sizeExistComp, 179068 filesTotal, 56073429985 sizeTotal, 33
    filesNew, 8756548 sizeNew, 7743362 sizeNewComp, 283177 inodeLast
    BackupPC_tarExtract exited with fail status 256
    Xfer PIDs are now
    Got fatal error during xfer (BackupPC_tarExtract exited with fail
    status
    256)
    Backup aborted (BackupPC_tarExtract exited with fail status 256)
    BackupFailCleanup: nFilesTotal = 179068, type = full, BackupCase = 4,
    inPlace = 0, lastBkupNum = 208
    Keeping non-empty backup #208 (/var/lib/BackupPC//pc/10.11.12.13/208
    <http://10.11.12.13/208>)
    Running BackupPC_refCountUpdate -h 10.11.12.13 -f on 10.11.12.13
    Xfer PIDs are now 10984
    BackupPC_refCountUpdate: 10.11.12.13 #209 inodeLast set to 283178 (was
    282799)
    BackupPC_refCountUpdate: host 10.11.12.13 got 0 errors (took 270 secs)
    Xfer PIDs are now
    Finished BackupPC_refCountUpdate (running time: 270 sec)
    Xfer PIDs are now

    I doesn't understand the full meening of "bpc_poolWrite_write: got 2
    matching files". Can i do something to avoid this error, as it seems to
    be the main cause of my problem ? (old full backups which or good
    doesn't show this)

    Thanks

    JM


    _______________________________________________
    BackupPC-users mailing list
    [email protected]
    <mailto:[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/

Reply via email to