I recently had to migrate history from one server to another. Here are some good reference threads. There's more than one way to skin a cat but these threads should be helpful.
You can always call support to get help with fixing backend tables if you need to update those. I did.