If you are using an Android phone and want to back up messages, you can use apps like SMS Backup & Restore (link). Hope that helps.