Do you remember if `restic check` said that everything was fine?
The commands that triggered the corruption were the following. I tested the restore around the 10th run of this.
repo=sftp:chenxiaolong@<ip address>:/home/restic
restic -r "${repo}" backup -x /home
restic -r "${repo}" backup -x --exclude /stuff/Android/AOSP /stuff
restic -r "${repo}" forget --keep-last 3 --prune