Sorry if I'm breaking protocol by asking a follow-on question not
directly associated with the original but I'm interested in your hard
disk config with a RPi4. Do you have all your storage as USB hard
drives working from the 2x RPi USB3 ports? RAID or non-RAID? I notice
you say that it is only one of your backup servers so you may have a
more distributed back up approach.
I've thought about RPis for a backuppc use case but never gone there
because I was thinking I would need SATA and RAID (I'm currently using a
monolithic 14Tb RAID6 arrangement) that (I thought) really needed a
motherboard. Keen to get some power saving though as the RPi4 probably
has enough juice to do the job itself, if only with respect to the
processor and the USB3 ports.
On 05/01/2022 18:02, backu...@kosowsky.org wrote:
One one of my backuppc servers (running on a RPI4), I get the
following daily error:
2022-01-05 01:05:49 Running BackupPC_rrdUpdate (pid=968)
2022-01-05 01:05:49 admin-1 : ERROR: unknown data acquisition function ''
2022-01-05 01:05:49 Finished admin-1 (BackupPC_rrdUpdate)
And running 'rrdtool dump /var/lib/backuppc/log/poolUsage.rrd' gives
the same error:
ERROR: unknown data acquisition function ''
If remove '/var/lib/backuppc/log/poolUsage.rrd' and run
BackupPC_rrdUpdate manually, the problem goes away
#rm /var/lib/backuppc/log/poolUsage.rrd
#sudo -u backuppc uBackupPC_rrdUpdate
RRD updated: date 1641427200; cpoolKb 0.000000; total 14345328797.155273;
poolKb 0.000000; pool4Kb 0.000000; cpool4Kb 736297088.000000
And 'rrdtool dump /var/lib/backuppc/log/poolUsage.rrd' runs without
error.
It seems that somehow the rrd file (poolUsage.rrd) got corrupted...
Not sure what caused this... but
- It might be helpful to add a more descriptive/helpful error message
to BackupPC_rrdUpdate as this was not simple to track down
- Regardless, hope this helps others who may be encountering this error
_______________________________________________
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/
_______________________________________________
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/