I’ve been wondering something similar. In another thread (Integrity validation for offline backups - #5 by CWin), a user suggested using gpg to sign the backup archive as one possible alternative to dm-integrity.
But I do think that dm-integrity is a reasonable way to go, the only downsides are:
- dm-integrity does not save the hashing algorithm used on the actual integrity header block
so if you use something other than the default, you’ll need to also write that down somewhere and store that information with the backup. - dm-integrity is only readable from Linux
Both of those may or may not matter to you.