Home

Thursday, April 29, 2010

HowTo: Manually BackUp Your iPhone

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
How to backup Calendar:
  • SSH into your device and go to /private/var/mobile/Library/Calendar
  • Copy Calendar.sqlitedb to your computer
How to backup Notes:
  • SSH into your dedvice and go to /private/var/mobile/Library/Notes
  • Copy notes.db and notes.idx to your computer
How To back up Photos:
This doesent necesarelly require any SSH. You can just connect your iPhone to the computer and copy your photos:

Mac
  • connect iPhone
  • open iPhoto and copy your photos
  • or use iPhoneExplorer. Read about it here
Windows
  • connect iPhone
  • open MyComputer
  • you will see the iPhone as a new device ( a photo camera ) . Open it and save your photos
IF you prefer SSH , this is what you need to do:
  • SSH into your iPhone
  • go to /var/mobile/Media/DCIM/
NOTE:
For videos shot with iPhone 3Gs, you need the same path ( correct me if i am wrong )
How to backup Mail:
Email itself doesnt need any backup. Your iPhone or your computer is not the server for your email accounts, so you dont need to worry about loosing your emails accounts. However, you might want to save your email account as you set them up on your iPhone, so you wont need to go to all that process once again.
  • SSH into your device
  • go to /private/var/mobile/library/ and just copy the folder called “Mail” to your computer
How to backup Visual Voicemail:
  • SSH into your device
  • go to var/mobile/Library/Voicemail/voicemail.db
  • Individual voicemails are stored as 1.amr, 2.amr, etc. in the same folder. If you’ve recorded a custom greeting, it’s stored as Greeting.amr.
How to backup videos from 3rd party apps:
Cycorder
  • SSH into your device
  • go to /private/var/mobile/media/videos
iPhone Video Recorder for 3G:
  • SSH into your device
  • go to /private/var/mobile/media/iphonevideorecorder/
How to backup files downloaded with Safari DL Plug-In
  • SSH into your device
  • go to /var/mobile/Library/Downloads
How to backup your Call History:
  • SSH into your iPhone
  • go to /var/mobile/Library/CallHistory/
  • copy call_history.db to your computer
Credits to Lil mac