{"repo":"maxim-mityutko/borgmatic-exporter","free":true,"listed":false,"github":"https://github.com/maxim-mityutko/borgmatic-exporter","clone":"git clone https://github.com/maxim-mityutko/borgmatic-exporter.git","description":"Prometheus exporter for Borgmatic seamlessly integrated into official Borgmatic docker image","language":"Python","stars":19,"topics":["backup","borgmatic","docker","exporter","grafana","prometheus","prometheus-exporter","borg"],"license":"MIT","category":"analytics","readme_excerpt":"Borgmatic Exporter Borgmatic Exporter seamlessly integrates Prometheus metrics and Borgmatic. This project is based on the borg-exporter by @danihodovic, however it introduces a few changes: - extra metrics - native integration with the official Borgmatic docker image - results caching Metrics Name Type ----------------------------------------------- ------- borg total backups Gauge borg total chunks Gauge borg total size Gauge borg total compressed size Gauge borg total deduplicated size Gauge borg total deduplicated compressed size Gauge borg last backup timestamp Gauge borg last backup duration Gauge borg last backup files Gauge borg last backup deduplicated compressed size Gauge borg last backup compressed size Gauge borg last backup size Gauge Installation Docker Recommended way of using Borgmatic Exporter is through Docker. The image is based on the official docker-borgmatic image, and it seamlessly integrates Prometheus metrics into the distribution by running both Borgmatic entrypoint and exporter server in parallel. All images are available here. 1. Configure Borgmatic: 2. Configure Borgmatic Exporter: Borgmatic Exporter supports the following environment variables for customization: Name Description Default ---------------------------------- ---------------------------------------------------------------------------- ----------------------------- BORGMATIC CONFIG One or multiple references to Borgmatic configuration files /etc/borgmatic.d/config.yml BORGMATIC EXPORT","default_branch":null,"files":null,"tree":[],"storefront":"/r/maxim-mityutko","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maxim-mityutko/borgmatic-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}