Re: Problems disk usage after migrated/reinstalled from 3.3 to 4.4

"G.W. Haywood" <[email protected]> Tue, 11 Nov 2025 13:47:33 +0000 (GMT)
Newsgroups gmane.comp.sysutils.backup.backuppc.general
Message-ID <[email protected]>
Hi there,

On Tue, 11 Nov 2025, klxout wrote:

> I have similar issues described in
> https://github.com/backuppc/backuppc/issues/418
> 
> I have the same problem recently upgraded debian with 3.3 backuppc to
> debian 13 with latest backuppc 4.4 from debian repositories and space is
> increasing.... seems files are never purged
> 
> Now I have reinstalled backuppc with a fresh install using apt-get remove
> --purge backuppc* and I'm evaluating the results
> 
> in the logs appears always 0 space recovered from v4 pool (only v4 is
> enabled as it was a default install)
> 
> 2025-11-10 18:00:00 Running 2 BackupPC_nightly jobs from 0..15 (out of 0..15)
> 2025-11-10 18:00:00 Running BackupPC_nightly -m -P 11 0 127 (pid=50769)
> 2025-11-10 18:00:00 Running BackupPC_nightly -P 11 128 255 (pid=50770)
> 2025-11-10 18:00:00 Next wakeup is 2025-11-11 04:00:00
> 2025-11-10 18:00:01 BackupPC_nightly now running BackupPC_refCountUpdate -m -s -c -P 11 -r 128-255
> 2025-11-10 18:00:01 BackupPC_nightly now running BackupPC_refCountUpdate -m -s -c -P 11 -r 0-127
> 2025-11-10 18:00:01  admin : __bpc_pidStart__ 50783
> 2025-11-10 18:00:01  admin1 : __bpc_pidStart__ 50782
> 2025-11-10 18:00:16  admin : __bpc_pidEnd__ 50783
> 2025-11-10 18:00:16 BackupPC_nightly now running BackupPC_sendEmail
> 2025-11-10 18:00:16 Finished  admin  (BackupPC_nightly -m -P 11 0 127)
> 2025-11-10 18:00:37  admin1 : __bpc_pidEnd__ 50782
> 2025-11-10 18:00:37 Finished  admin1  (BackupPC_nightly -P 11 128
> 255)*2025-11-10 18:00:37 Pool nightly clean removed 0 files of size 0.00GB
> 2025-11-10 18:00:37 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0 max links), 0 directories
> 2025-11-10 18:00:37 Cpool nightly clean removed 0 files of size 0.00GB
> 2025-11-10 18:00:37 Cpool is 0.00GB, 0 files (0 repeated, 0 max chain, 0 max links), 0 directories
> 2025-11-10 18:00:37 Pool4 nightly clean removed 0 files of size 0.00GB
> 2025-11-10 18:00:37 Pool4 is 0.00GB, 0 files (0 repeated, 0 max chain, 0 max links), 0 directories
> 2025-11-10 18:00:37 Cpool4 nightly clean removed 0 files of size 0.00GB*
> 2025-11-10 18:00:37 Cpool4 is 782.54GB, 92649 files (0 repeated, 0 max chain, 1632 max links), 16452 directories
> 2025-11-10 18:00:37 Running BackupPC_rrdUpdate (pid=50797)
> 2025-11-10 18:00:38  admin-1 : skipping repeated RRD update for the same day: last update time is 1762819200
> 2025-11-10 18:00:38 Finished  admin-1  (BackupPC_rrdUpdate)
> 
> Any suggestion to solve this problems?

First let's make sure that there *is* a problem.  In some commands
below you may need to change the logged-in user ID to one which can
read the necessary files (often, for example, to user 'backuppc').

1.

Did you run BackupPC_nightly by hand?

How many times has it been run on the nightly backup schedule since
your most recent install of BackupPC version 4?

2.

In the Github issue (#418) on which you commented, did you read
Craig's post of Feb 25, 2021 at

https://github.com/backuppc/backuppc/issues/418#issuecomment-785825325

in which he talks about the mtimes of pool files?  Did you try any of
Craig's suggestions there?

Does your filesystem properly set the 'x' bit in file metadata?

Do you know roughly how old (looking at mtimes of the files) is the
oldest file in your 'cpool'?

If not, what's the output of

   find /POOLDIR/ -type f -mtime +9 | head

where /POOLDIR/ is the full path to your cpool ?  (For example on a
system *here*, that would be

   find /var/lib/BackupPC/cpool/ -type f -mtime +9 | head

because the cpool directory *here* is in /var/lib/BackupPC/ - but note
that your cpool directory might not be in the same place as mine).

3.

What's the output of

   grep 'my $minMtime' /path/to/BackupPC_refCountUpdate

where /path/to/ is the path to your BackupPC Perl scripts.

-- 

73,
Ged.


_______________________________________________
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/