Snaphot verify VS content verify

Hi everyone,

I was thinking kopia snaphot verify was the “canonical way” to verify backup integrity, but I see @jkowalski is using kopia content verify instead (see Success Vs failure of backup).

So, which one should I run to regularly check backup consistency? kopia snaphot verify, kopia content verify or both?

I had a look at Architecture | Kopia, but it’s not clear to me what each command is exactly checking.

Thanks.

kopia snapshot verify does deeper verification and takes more time - it verifies that all files in all snapshots have valid contents backed by pack blobs (only checks metadata).

kopia content verify does slightly less and is very quick - it verifies that all contents in the index have valid backing pack blobs.

2 Likes