Hi there, On Sun, 8 Jun 2025, Matthew Pounsett wrote:
I'm not sure what I've done, but something I did in the last few days broke my pool size graphs. ... ... ...
It happens. :( For something like this I'd get into the nitty-gritty, which I hope shouldn't be too difficult. BackupPC runs as an endless loop which in my installations is in the Perl script at /usr/local/BackupPC/bin/BackupPC but in your case might for example be in /some/other/directory/bin/BackupPC. It's actually "$InstallDir/bin/BackupPC", the "$InstallDir" path is given in your /etc/BackupPC/config.pl file. In that file, the endless loop is called the "Main loop". It's short and sweet, with about eight things in it that it actually does, each of them being a separate call to a Perl sub or script. The pool graphs are created by a call near the end of the "Main loop" to a sub called "Main_Check_Job_Messages" which unfortunately isn't so short nor so sweet. Main_Check_Job_Messages waits for EOF from the client connection and then does a bunch of stuff including *scheduling* a call to be made to a Perl script "$BinDir/BackupPC_rrdUpdate" at some future time. After the call has happened, your pool usage RRD file and graphs will theoretically be in the BackupPC log directory, which on my systems is /var/log/BackupPC/ but see $Conf{LogDir} in your config.pl. You should see that the timestamps on the .rrd and .png files are being updated at the expected times. Here's one of my systems as of this afternoon: # ls -lrt /var/log/BackupPC/ | tail -rw-r----- 1 backuppc backuppc 5715 Jun 7 01:00 LOG.1.z -rw-r----- 1 backuppc backuppc 5693 Jun 8 01:00 LOG.0.z -rw-r----- 1 backuppc backuppc 1793 Jun 8 01:33 UserEmailInfo.pl -rw-r--r-- 1 backuppc backuppc 31084 Jun 8 01:33 poolUsage.rrd -rw-r----- 1 backuppc backuppc 6298 Jun 8 01:33 poolUsage4.png -rw-r----- 1 backuppc backuppc 8106 Jun 8 01:33 poolUsage52.png -rw-r----- 1 backuppc backuppc 47571 Jun 8 15:00 status.pl.old -rw-r----- 1 backuppc backuppc 47571 Jun 8 16:00 status.pl -rw-r----- 1 backuppc backuppc 0 Jun 8 16:00 LOCK -rw-r----- 1 backuppc backuppc 78046 Jun 8 16:00 LOG # As you can see the .rrd file and the .png files were updated in the small hours of this morning, as expected on this system. First I'd check that the image files that your BackupPC system has in $Conf{LogDir} are the same files which Apache is rendering. To check that Apache renders those .png files on the BackupPC Status page, you might for example replace them with more or less any suitably-sized .png files of your own. From your problem description I'm guessing that the files will not have been updated - if the image files *are* being updated, and they look sane - you can view them in just about any image viewer - you need to find out why (presumably) Apache isn't rendering them. :( If the files are *not* being updated as expected then you could check that $BinDir/BackupPC_rrdUpdate is getting called, that it will run, that it can produce an .rrd file, that the .rrd file is sane and in a sane place, that the .png files are being created from it, and that the conditions for the scheduling above to actually get done are met (for example are backups even completing? Check the logs, increase the logging verbosity perhaps, maybe even try adding some logging of your own to the scripts to find out). Somewhere along that route you may find the issue. It might need a bit more work to fix it, whatever it is. Sorry, I have to go start cooking dinner now. :) -- 73, Ged. _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/