Hi, just my two cents on a similar problem. I figure this might be useful for people who are getting a new mac, don't want to use the migration assistant, but want to keep their iChat logs.
My case:
I upgraded from a 2008 iMac to a new MBP 15" this week. I have been upgrading and transferring via backups since OS X 10.2, so I thought I would start with a blank slate this time. iCloud really helps, as calendars, contacts, keychains and other important stuff is downloaded from the cloud. However, I soon realized that my old iMessages (and SMS) were stuck on the iMac. It wasn't a problem to get the MBP to receive and send new messages, but I wanted my chat logs from the past few years with me. Why on earth can't Apple let me just sync all messages from my iPhone to my new mac? Everything is there, and I don't think I am the only one wanting to keep the chat log for reference. (Half related: why can't apple store and sync smart groups in Address book via the cloud?)
My solution:
- quit Messages
- copied the contents of /Users/[username]/Library/Containers/com.apple.iChat/Data/Library/Messages/Arch ive on the iMac to /Users/[username]/Library/Messages/Archive on the MBP. The subfolders have dates as names. Messages had been running partly in parallell on my two macs, so I moved the few subfolders already in place on the MBP to the desktop and later deleted them, see below).
- moved the contents of the folder /Users/[username]/Library/Messages/Attachments on the MBP to the desktop, then copied the contents of the same folder on the iMac into the folder on the MBP.
- restart MBP
- start Messages
And voila, all of my messages from the iMac, including attachments, appeared on the MBP!
I lost a some messages, those were received on the iMac but not on the MBP, and were lost because I could not merge chat logs from the same day from the different computers (i experimented a bit before I tried the above solution, including switching iMessages on and off on one or both computers a few times, during this time I received a few messages only on the iMac and some only on the MBP. For chats with the same person on the same day I had to choose between the ones on the iMac and the ones on the MBP). I see no way to edit the chat logs, they are coded in SQL or something and I don't have time, patience, knowledge or tools to do that. It was only a handful of messages, so I can live with the loss!
Preferably one should try this before turning on Messages on the new mac, I suppose, then you probably would not loose anything. Hope this helps someone!
All the best
AtomicDoc