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
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/