Need help migrating rosters from one database to another

We are currently running Openfire 3.6.4 with an SQL Server database and LDAP. Instead of upgrading this production server, we decided to create a whole new server with Openfire 3.9.1 and a new database. I was wondering if there was a query or migration tool that could be used to transfer the rosters from the old database to the new one so that we don’t have to ask each user to add all of their contacts back themselves. Also, would there be a Data Dictionary or Data Definition document for this database?

Thanks,

Shawn

Anyone have any ideas?