HowTo: Back Up Your iPhone SMS Messages and Contacts

ATTENTION: Also read HowTo: Manually BackUp Your iPhone

Dev-Team posted a new article on their blog today, where they give us some recommendations. You all know about the “war” between iPhone DevTeam and GeoHot right? Well after the twitter dispute ( which you can read here , here and here ) the DevTeam has responded that the excessive use of the battery does not occur  because of ultrasn0w (which is very light) but because you restore from Backup.

Therefore, it is always advisable to configure your device as a “new iPhone”. The music and applications may be re-synchronized later with a single click anyway.They also advise us to have the previous version of ultrasn0w before you upgrade to 0.9 . So lets check out how to backup your data so you will not face this problem anymore:

How to save Contacts Database:

  • SSH into the iPhone and go to /private/var/mobile/Library/AddressBook
  • you will find 2 files there. save them on your computer.

How to save Messages Database:

  • SSH to your phone and go to /private/var/mobile/Library/SMS
  • Save sms.db on your computer

Now you got everything saved. So from now on you can use this backup method, and every time you restore , you will set your iPhone as a “New Phone” . So, you got all that cover, but how do you restore the files on your “New Phone” ?

  • jailbreak your iPhone and install OpenSSH from Cydia.
  • once you got your iPhone jailbroken and OpenSSH installed, SSH into your iPhone , go to the same paths, and overwrite the existing files on your phone with the ones you saved on your computer before restoring your iPhone.