You can configure your phone to backup text messages, be it SMS / MMS / IM chats.
- Open the Messaging.
- Expand the menu by tapping the ellipsis (…).
- Tap the “settings”.
- Switch on the “Text message backup”.
Alternatively you can also navigate to the settings through “Settings -> backup”.
All the backups will be made to SkyDrive.