Sorry, I forget to give you the Moibledic link:
If you need to back up the contacts:
http://www.mobiledic.com/android-topic/transfer-contacts-from-android-to-computer.html
If you need to back up the text messages to computer...
Titanium Backup is a mobile app runs on your phone, it works very slowly if back up large files, I think the best and safe solutions is back phone data to computer. I personally used Moibledic Mobile transfer, one click to backup and restore, but it's not free.