#1035758 backupninja: Config defaults leads to node-exporter error

#1035758#5
Date:
2023-05-08 18:58:53 UTC
From:
To:
Dear Maintainer,

With the default config in backupninja.conf, and prometheus-node-exporter isn't installed, an error is reported at the end of backups like:
Error: /var/lib/prometheus/node-exporter does not exist!

I believe that the default value isn't suitable:
reportprom = false

Instead, it should be:
reportprom =

if I interpret https://0xacab.org/liberate/backupninja/-/blob/8f81c85274cd7a21d4bff819bf800b300a7488d2/src/backupninja.in#L609 correctly.

Hope this is correct.

Best regards,