Sobre el proyecto

Rustic-exporter is a Prometheus exporter designed to monitor rustic/restic backup repositories. It exposes metrics related to backup repositories, snapshots, and backup operations, enabling observability for backup systems. The project is still under development and should be used with caution. The exporter supports multiple backup repositories and can monitor local and remote backends, including AWS S3, Google Cloud Storage, Azure Blob Storage, Google Drive, and SFTP via OpenDAL. It requires restic version 0.17 or higher for full metrics support. Docker images are available in distroless and Alpine variants, supporting both linux/amd64 and linux/arm64 platforms. The Alpine variant includes openssh-client for SSH-based remote repositories. The exporter is configured via a TOML file, which supports environment variable interpolation. It provides command-line options for controlling metrics collection frequency, log level, output format, and server binding. Metrics include repository information, snapshot counts, snapshot details, file counts, timestamps, sizes, and backup durations.