Aha, I’ve run into the same problem. It’s a pisser to find that, in spite of Roon’s guarantees, the backup process is suspect.
I’ve heard some comments from Roon that backing up a corrupted library will be addressed. We’ll see. Until then, I take multiple backups, on different drives, with different retention periods, on the belief that I can go far enough back to find a uncorrupted backup.
As far as the corrupted database, are you running Roon or RoonServer?
I had nothing but trouble running RoonServer. When I switched to the full Roon all problems went away.
I also run on a Ryzen. Dunno.