Backups

Duplicacy ecosystem

Run, watch and alert on Duplicacy backups

Duplicacy on its own writes logs and sends email, so nothing tells you that last night's backup failed or that one has not run for three days. These tools run Duplicacy CLI backups on a schedule, in Docker or as Kubernetes Jobs. A Prometheus exporter turns their logs or Web UI reports into metrics and a Grafana dashboard. Home Assistant sensors and an MCP server for LLMs read the same exporter.

The Duplicacy Backup Overview dashboard in Grafana
The Grafana dashboard fed by duplicacy-exporter. Image from the duplicacy-exporter repository.

Repositories

  • duplicacy-exporterPrometheus exporter that reads Duplicacy CLI logs or Web UI reports and exposes live progress, speed and the summary of each backup.
  • duplicacy-cli-cronDocker container that runs Duplicacy CLI backups on a cron schedule to S3-compatible storage, with encryption, pruning and notifications.
  • duplicacy-haHome Assistant custom integration that monitors Duplicacy backups through the duplicacy-exporter: status, progress, speed and history as sensors.
  • duplicacy-mcpMCP server that reads Duplicacy backup metrics from the duplicacy-exporter so LLMs can check backup status, progress and health.
  • duplicacy-containerContainer image and Helm chart for running a Duplicacy backup stack on Kubernetes: a scheduled backup Job, the exporter and an optional Web UI pod.

Run it yourself

# Duplicacy CLI: read the log your backup job writes
docker run -d --name duplicacy-exporter -p 9750:9750 -e MODE=log_tail \
  -e LOG_FILE=/logs/duplicacy.log -e MACHINE_NAME=$(hostname) -e SNAPSHOT_ID=my-snapshot \
  -v /path/to/duplicacy/logs:/logs:ro -v duplicacy-exporter-data:/data drumsergio/duplicacy-exporter:0.7.0

curl -s localhost:9750/health

From the duplicacy-exporter README. It also covers webhook mode for the Duplicacy Web UI. That mode accepts reports without authentication, so publish its port only where Duplicacy Web UI is the one sender. Each repository README has the full setup.

More from the club