I have had to do this multiple times. I have been running "trust by name" for several years now without any issues.
The copy the repository to another server, delete the repository on the CMS, then copy it back down works....but only for a little while. Last time it worked for a week and a half. About to do this for the 5th time in the last 3 months.
Getting a bit old, haveing to spend half a day to do this, and then not have it work for long.