@moritzdietz As far as I understood the question, it was not about checking a repository for integrity but instead about verifying the integrity of local files against a repository content.
@iqktp Check this topic (it is about verifying restored data against the repository): Verifying restore