Ah! There's an ubbt_IMPORT_MAP table. Seems to contain the data I need. I realized it when I wondered how redirects from old UBB.threads post links were done.
Shouldn't be too hard to fix now.
Although, if someone has a script ready, that would of course be much better.
Last edited by Gardener; 05/28/2008 9:54 AM.