When you have root access you could use the mysqlcheck command, however that will not fix lost tables.
If you still have sql backups, they can be editted with like best Notepad++ or Editpad Lite for example.
You can search if the pcsuk_xf2forum.xf_data_registry table is present, if not... try another (maybe earlier) backup.