We lost a DB and had an old backup. We reran all the binlogs that we
had, but there was some missing data that’s causing problems now when
trying to use RT. Mainly missing users and groups. Does someone have a
script that can check the DB and purge anything that’s not consistent
such as Watchers and requestors on tickets?