{"repo":"ngosang/restic-exporter","free":true,"listed":false,"github":"https://github.com/ngosang/restic-exporter","clone":"git clone https://github.com/ngosang/restic-exporter.git","description":"Prometheus exporter for the Restic backup system","language":"Python","stars":160,"topics":["backup","docker","exporter","prometheus","python","restic"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"ngosang/restic-exporter Prometheus exporter for the Restic backup system. Install From source code Requirements: Python = 3.12 Uv package manager Install dependencies: uv sync Run the exporter from the CLI: Format the code: uv run ruff format ./ uv run ruff check --fix ./ Run the tests: uv run pytest ./ Docker Docker images are available in GHCR and DockerHub. Supported Architectures The architectures supported by this image are: linux/386 linux/amd64 linux/arm/v6 linux/arm/v7 linux/arm64 linux/ppc64le linux/riscv64 linux/s390x Docker Compose NOTE: It is recommended to mount the /root/.cache/restic path as an external volume to speed up Restic Exporter startup time and to reduce costs if your repository is remote. This path contains the Restic repository cache. Docker CLI Configuration This Prometheus exporter is compatible with all backends supported by Restic. Some of them need additional environment variables for the secrets. All configuration is done with environment variables: - RESTIC REPOSITORY : Restic repository URL. All backends are supported. Examples: Local repository: /data REST Server: rest:http://user:password@127.0.0.1:8000/ Amazon S3: s3:s3.amazonaws.com/bucket name Backblaze B2: b2:bucketname:path/to/repo Rclone (see notes below): rclone:gd-backup:/restic - Repository password configuration. Choose one of the following methods: - RESTIC PASSWORD : Restic repository password in plain text. - RESTIC PASSWORD FILE : File with the Restic repository password in p","default_branch":null,"files":null,"tree":[],"storefront":"/r/ngosang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ngosang/restic-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."}