Unfortunately, there isnt going to be an easy way to do that. You would have to manually go through them. What I would do is probably switch both off, copy the database entirely and set invision to use that new copy, backup again, then delete anything that isnt an invision table from that database. A painstaking job for sure,