Backup SMS (sms.db) on your iPhone the easy way (openSSH)

We all love SMSs from our loved ones, don’t we? I always had issues with SMS since I tend to loose them with so many different firmware installs and I always have issues with setting up the iPhone from a backup (it just messes everything up!).

Anyway, openSSH comes to your rescue! Make sure you have openSSH installed via Cydia or installer and boom, use Fugu, Cyberduck or any FTP tool (Windows and Mac) and login to your iPhone (ip address from WiFi settings, username : root, password : alpine, port: 22).

This is the path you have to check for SMS.db file which has all your SMSs!

var/Mobile/Library/SMS

Copy the SMS.db file locally and make sure you update the cop before and after you restore a new firmware! Told ya its easy 🙂 Lemme know if you have any issues with this process…

46 Comments

  • javen
    Posted February 23, 2010 1:52 pm 0Likes

    i did the same thing.. but when i tapped on "send" button, the SMS app closed automatically..

    iPhone 3GS, version 3.1.2 (7D11), Window 7

    • brian
      Posted May 4, 2010 12:59 am 0Likes

      I had the same problem – delete the SMS directory on your iPhone. Send a message. REBOOT. Then upload the old sms.db file

  • Trackback: Har du uppdaterat din 3GS till 3.1.3 av misstag? Se hit! - Sidan 32 - iPhoneinfo.se - iPhoneforum i Sverige
  • Trackback: Backup your SMS messages when you get the iPhone 4
  • adfafae
    Posted November 6, 2010 9:25 pm 0Likes

    plzzzz plzzzz tell me how to change permissions to 644

    • Waritis
      Posted December 1, 2010 12:16 am 0Likes

      Nice tips. Thank you so much. I have an iPhone iPhone SMS Backup program to copy sms from iphone to computer for backup. Now I know how to do the backup with SSH.

  • longercheng
    Posted December 27, 2010 7:43 am 0Likes

    Sounds good!

  • Catherine
    Posted January 16, 2011 12:32 pm 0Likes

    I'm trying to get in via Terminal on a Mac and keep getting this error?

    ssh: connect to host xxx.xxx.x.xx port 22: Connection refused
    [Process exited – exit code 255]

    (The x's are my I.P. address)
    I'm not exactly the most experienced in using stuff like this, any ideas?

    • Kiran
      Posted January 16, 2011 12:51 pm 0Likes

      I am hoping you jail broke your iPhone already. Did you install openssh from cydia?

  • angelo
    Posted February 18, 2011 1:42 am 0Likes

    Hi guys! I've done the whole process and it works great, I get back all my SMS but… when I delete one sms it disappears from the sms APP but when I close the SMS app on the Iphone and enter again the SMS app… the SMS I had deleted appears again!! It seems I can delete no SMS anymore!

    Can anyone help? Thanks in advance!

  • hallaryduff
    Posted February 28, 2014 6:12 am 0Likes

    Bulk SMS
    We are not used to blogs and in reality liked your blog. I'll search for your webblog and keep viewing you. I absolutely should give you thanks with regards to writing your web web site.

Leave a comment