I’d like to build some custom monitoring tooling around restic backups. As such, I’d like to be able to get some metadata about a restic repository in a machine readable format.
For example, I want to monitor in a postgres database how old my most recent snapshot is. For that, I run some imaginary CLI command like restic info --format json > repository.json
that can be read by other scripts.
Does such an interface exist?