Hi
I needed to identify backups with missing pool files in the past. This one
liner worked for me in Linux (substitute a0 and the full hash with your
details):
# Find a "missing pool file"
# a0 is the first two letters of the hash of the file we are looking for:
"a06340ddb577fd02a04bda2998a8d246"
find ./pc -name "poolCnt.1.a0" -exec sh -c 'for f; do
/usr/share/BackupPC/bin/BackupPC_poolCntPrint "$f" | grep -q
"a06340ddb577fd02a04bda2998a8d246" && echo "Match: $f"; done' sh {} +
Hope it helps
Jamie
-----Original Message-----
From: Matthias--- via BackupPC-users <[email protected]>
Sent: 08 July 2026 21:29
To: General list for user discussion, questions and support
<[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [BackupPC-users] backuppc calculate wrong pool size
Hello
The garbled messages are like:
/var/log/backuppc/LOG.3:2026-07-04 02:01:30 admin :
BackupPC_refCountUpdate: missing pool file
6700cdd05eef290589dc266b27153ec1 count 9
/var/log/backuppc/LOG.3:2026-07-04 02:02:01 admin :
BackupPC_refCountUpdate: missing pool file
6a008356d9418f6884a54622c6df18ff count 1
/var/log/backuppc/LOG.3:2026-07-04 02:02:42 admin :
BackupPC_refCountUpdate: missing pool file
6e00ad08267460c350c40c2d57ed86ad count 1
It was 5.650 poolfiles.
I wrote a script to copy this missing pool files from a backup and create
empty pool files for the
remaining.
I'd delete the backups, containing this missing pool files but I can't find
out how to identify this
backups.
Now I've changed $Conf{PoolSizeNightlyUpdatePeriod} from 16 to 1. Will see
tomorrow what happens 🙂️
At least I will delete all empty pool files with wrong digest. I assume
there is no not empty file
with wrong digest. We will see.
a great evening to all
Matthias
Am Dienstag, dem 07.07.2026 um 14:56 +0200 schrieb [email protected]:
> Hello 🙂️
>
> BackupPC is reporting a wrong pool4 size:
> 2026-07-07 02:03:48 BackupPC_nightly now running BackupPC_sendEmail
> 2026-07-07 02:03:49 Finished admin (BackupPC_nightly -m -P 15 144
> 159)
> 2026-07-07 02:03:49 Pool nightly clean removed 0 files of size 0.00GB
> 2026-07-07 02:03:49 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0
> max links), 0
> directories
> 2026-07-07 02:03:49 Cpool nightly clean removed 0 files of size 0.00GB
> 2026-07-07 02:03:49 Cpool is 0.00GB, 0 files (0 repeated, 0 max chain,
> 0 max links), 0
> directories
> 2026-07-07 02:03:49 Pool4 nightly clean removed 42274 files of size
> 10.69GB
> 2026-07-07 02:03:49 Pool4 is 2336.81GB, 30129485 files (0 repeated, 0
> max chain, 154407 max
> links), 16512 directories
> 2026-07-07 02:03:49 Cpool4 nightly clean removed 0 files of size 0.00GB
> 2026-07-07 02:03:49 Cpool4 is 0.00GB, 0 files (0 repeated, 0 max chain,
> 0 max links), 2889
> directories
> 2026-07-07 02:03:49 Running BackupPC_rrdUpdate (pid=1511014)
> 2026-07-07 02:03:49 admin-1 : RRD updated: date 1783468800; cpoolKb
> 0.000000; total
> 87513848461.214844; poolKb 0.000000; pool4Kb 2392893172.000000; cpool4Kb
> 0.000000
> 2026-07-07 02:03:50 Finished admin-1 (BackupPC_rrdUpdate)
>
> The count of files is nearly correct. Just a delta of ~326.289 files. That
> is 1%🤔️
> But pool size is complete wrong. It should be 9102GB instead 2336.81GB
>
> I know that I have files in pool which are not correct.
> I have had regularly error messages in the log files regarding:
> BackupPBackupPC_refCountUpdate: missing pool fileC_refCountUpdate:
> missing pool file
> I tried to omit this messages by creating empty pool files with the
> name of the missing files.
> In the meantime I learned, this wasn't successfull because know I get
> error messages in the log
> files regarding:
> BackupPC_refCountUpdate: ERROR pool file
> /var/lib/backuppc/pool/92/90/9391966a5318da40fc690f27da3e1a25 has digest
> d41d8cd98f00b204e9800998ecf8427e instead of
> 9391966a5318da40fc690f27da3e1a25
>
> But can this incorrect files the reason for reporting a poolsize of
> 2336.81GB instead 9102GB ?
>
> Thanks in advance
> Matthias
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/