feat: add restic-exporter as metrics endpoint #84
Open
stevensting
wants to merge 3 commits from
restic-exporter into main
pull from: restic-exporter
merge into: :main
:main
:renovate/docker-29.x
:feature/makeDeleteDefault
:restic-exporter
:cmd-setup-restic-s3
:prom-mon
:feature/dockerfile
:bb2-classic
:feature/selective_paths
:list
:enable-label
:backupbot_revolution
:backup_volumes
:multi_path
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
appletalk
arjan
basebuilder
BornDeleuze
Brooke
carla
cas (Cassowary)
codegod100
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
flancian
Frando
iexos
jade (Jade Ambrose)
javielico (Javielico)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
marlon (marlon)
mayel
mirsal
moosemower
moritz
nicksellen (Nick Sellen)
notplants
oxaliq (sorrel)
p4u1
pau
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
PhiNatalie
renovate-bot (Comrade Renovate Bot)
ripclap
rix
rscmbbng
sef (sef)
simon
sixsmith (Sixsmith)
stevensting
tobias
trav (Trav Fryer)
val (val (he/him))
vaznasty
virtualboys
wolcen (Chris Thompson)
wykwit
xynosis
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/backup-bot-two#84
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.