A small Python binary to export stats from a restic backup repository, for example for use in monitoring systems.
$ pip3 install restic-exporter
- Decoupled from restic itself, can be run on any host as long as it can talk to the repository.
- Can provide both repo-based statistics, and backup progress statistics from restic clients.
Almost all data made available from the restic tool itself can be exported.
- Backup progress (
restic_backup_progress
)- hostname
- paths
- tags
- bytes_done
- total_bytes
- files_done
- total_files
- percent_done
- seconds_tag
- Backup summary (
restic_backup_summary
)- hostname
- paths
- tags
- snapshot_id
- files_new
- files_unmodified
- files_changed
- dirs_new
- dirs_unmodified
- dirs_changed
- data_added
- total_bytes_processed
- total_files_processed
- total_duration
- Snapshots (
restic_snapshots
)- hostname
- paths
- tags
- raw_blob_count
- raw_file_count
- raw_size
- restore_file_count
- restore_size
This tool can export statistics to:
To be completed.