feat: add restic-exporter as metrics endpoint #84
Reference in New Issue
Block a user
No description provided.
Delete Branch "restic-exporter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #82
I haven't tested it yet but it looks fine. At least it won't affect the normal setup. But I would favor a clear warning that this setup opens a very dangerous attack vector. Per default the backup bot is not exposed in any way. The only attack vector would be to exploit the file parsing of restic.
The restic exporter is exposing port 8001. So if this tools has any security issues the whole system including all other apps could be compromised. And if the backup backend is not configured to be append only, even the backups could be deleted. For backup monitoring I would recommend the PUSH API with uptime kuma, as this doesn't expose any ports.
Thank you for the hint. We now also switched to Uptime kuma with push monitoring.
Not sure what to do with this PR though. Maybe just leave it open if someone else some day wants to use it?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.