Recovery actions after snapshot verify - bad sectors

Hello.

I am running Kopia server and have a repository on an external USB drive which suffered bad sectors.

Following and fsck I ran `kopia snapshot verify --verify-files-percent=100 --file-parallelism=10 --parallel=10` and it reported one error/missing blob:

error processing root@...:/...@2024-01-30 02:05:00 AEDT/...: object Ix2c92... is backed by missing blob p9521b991b3cefd6ccd6f890a18d2f030-s46d8c16355c93ae8124

What do I do next? How do I clear this error?

Is it safe for me to restart my server and allow the clients to resume backing up?

Is there any way I can force kopia to “fill in” or remake the missing blob? It appears to affect a single file - will the blob be recreated if/when the relevant client backs up this file again?

I would run kopia repository repair filesystem

But as always in such cases start with making your repo copy first.

I ended up restoring the missing and corrupted blobs from a secondary offline repository. It took four rounds of verify/restore/verify but after that it appears to be ok.

1 Like