Is there a problem with just moving the mailboxes using the move mailbox command? How many mailboxes are in the database?
This <a href=”http://searchexchange.techtarget.com/generic/0,,sid43_gci1302950,00.html”>link</a> is a good reference for moving mailboxes between servers. To migrate servers, you might want to try copying over the mailbox store file and renaming it on the new server. It is a lot faster if you are working with a lot of mailboxes.