Validate backup

Hello,
I have a question regarding influxDB backups:

I want to regularly check whether my backed up data is still valid. When a shard (..tar.gz) is corrputed influx restore skips it but doesn’t show an error message.
Is there a way to validate data created with influx backup? Or is there an option to show an error message/code when influx restore skips a shard or detects a corrupted shard?

I am currently using InfluxDB v2.2.0

Thanks in advance!