Backing up and restoring text messages back to iPhone?

Does anybody know of a reliable way to this? Any good programs come to mind that does this?

SMS/MMS are not synced with an application on your computer or included with the iTunes sync process in any way except for being included with your iPhone's backup which is updated by iTunes as the first step during the iTunes sync process. The data included with the iPhone's backup is not stored in your iTunes library. This link provides the data on your iPhone that is included with your iPhone's backup.

http://27b307b0.tinylinks.co

There are a number of 3rd party utilities that provide for extracting select data from your iPhone's backup on your computer for access to the data on your computer for archiving or printing, etc. Here is one of them.

http://01da6db6.yyv.co

If you deleted your messages they are permanently gone i'm pretty sure there's no app or software that can bring the back… The only way is to get a copy from the phone company by a court order but you need a good reason