Home > Tips & How To > How to Backup your iPhone Data

How to Backup your iPhone Data

by Alvin on July 6, 2009

There are two methods of doing it. One of them is to sync your iPhone with iTunes and restore it after the iPhone has been restored successfully. Alternatively, you can backup your iPhone data by SSH into your iPhone and make a copy of all the necessary data to your computer, such as contacts, SMSes, notes and calendars. What about my applications, games, videos, photos and songs? You can sync them with iTunes on the iPhone panel. The second method requires you need to jailbreak your iPhone.

Contacts backup:

contacts backup

contacts backup

Path: /private/var/mobile/Library/AddressBook

Note: Copy AddressBook.sqlitedb and AddressBookImages.sqlitedb to your computer

SMS backup:

sms backup

sms backup

Path: /private/var/mobile/Library/SMS

Note: Copy Draft and Parts foloder, sms.db and sms-legacy.db to your computer

Notes backup:

notes backup

notes backup

Path: /private/var/mobile/Library/Notes

Note: Copy notes.db and notes.idx to your computer

Calendar backup:

calendar backup

calendar backup

Path: /private/var/mobile/Library/Calendar

Note: Copy Calendar.sqlitedb to your computer

P/S: You may also want to backup your Appstore saved games while you’re copying the files from your iPhone.

{ 8 comments… read them below or add one }

kempozone October 12, 2009 at 9:51 pm

Im sure many of you are like me and one of the first things you do in the morning is head here and check out the new post. Along with seeing the new posts, I’m also always checking out the blog roll rss feed and watching them grow, or shrink sometimes. In one of my past …but all in all excellent site. Keep it up!

Donnieboy October 12, 2009 at 11:28 pm

Just wanted to drop you a line to say, I enjoy reading your site. I thought about starting a blog myself but don’t have the time.
Oh well maybe one day…. :)

Dusty October 20, 2009 at 1:16 am

Great post!

For SMS backup, what is sms-legacy.db???

One more thing I noticed when restoring these backups, Draft and Parts folder, sms.db and sms-legacy.db I cannot send MMS anymore? The picture seems to just disappear or it just stays at sending… Any ideas?


Alvin October 20, 2009 at 8:42 am

Hi Dusty,

When restoring the backup, please logon as username “mobile” instead of “root” and the password is “alpine” also.

Dusty October 20, 2009 at 8:17 pm

Ya I figured it out lol I actually used Putty and did the command code to change the ”root” to ”mobile” Working now!

Thanks for the reply and will keep that tip in mind.

Alvin October 28, 2009 at 12:50 pm

Wow!!! Maybe you can share with me how you change it here.


david moxon October 15, 2010 at 12:45 pm

when i downgraded my 3g from 4.0 to 3.1.2 i saved all my db files manually using win-scp thinking that i could overwrite the blank .db files once it was wiped clean to get my old data back. i have been trying for days and thought the mobile login was the answer i was looking for. alas, no joy. what happens when i replace the db files for calendar, address book, notes, etc. I reboot the phone and open the app, i get an apple screen with the logo and a progress line under it that goes about 1/3 of the way before the screen disappears and the .db file gets completely wiped and a blank file is generated.
anybody out there know how i can successfully restore my old files?
thanks for any tips

christmas2010 January 12, 2011 at 1:25 pm

backup iphone sms, contacts, call list, ibooks….


Leave a Comment