I just answered a similar question here, using the migrate tool.
Hopefully that covers what you were after.