Go to the market and download SMS Backup & Restore. It's a great program that allows you to set automatic sms backup every night. The restore sms feature is really easy to use.
Once you do the reset, just download the app again and you can restore your texts. The backup will be stored on your SD card.