Hello! I am a new user of Kopia. Thank you for making this tool!
In Verifying Validity of Snapshots, it is suggested to run kopia snapshot verify --verify-files-percent=1 --file-parallelism=10 --parallel=10 every day for checking integrity.
However, it does not mention whether this covers snapshots outside of the ones on the computer from which the command is run (i.e., the ones shown by kopia snapshot list OR kopia snapshot list --all ones created by other users/computers/etc.).
Can someone confirm that --verify-files-percent=1 applies to the WHOLE repository or just 1% of the snapshots uploaded by the computer I’m running it on? I would rather not have to run this command on all the computers every day, so if there is another way to do that in the second case, please advise!
Most likely somebody would have to look into source code to check…
What you can do yourself is to test. Create some new test tiny backup for new user (or use the smallest one you have) and then verify 100%. Should be obvious what is verified.
I have a Kopia server running, where a number of Kopia clients connect and backup to. I connected a local Kopia client on the Kopia server to that repo and started a kopia snapshot veriy and it looks, like is checking all the snapshots, regardless of which client created it.
Since kopia snapshot verify doesn’t take a specific snapshot as a paramer, I’d assume that is always checks all the snapshots, ableit in different terms of depth. When I issued a verify-files-percent=10 I could monitor that the local Kopia client read huge amounts of data from the storage, so it seems to read files from the blobs and verifies the checksums against, what is stored in the repo for those files.
I guess, this will ensure, if no issues pop up, that the files in the repo are exactly as they were given to it, when the snapshot had been created.