Saturday, April 3, 2010

Howto Manually Recover Photos from iPhone Backup

Some photos got accidentally deleted from my iPhone. I have them in a backup from the last time I connected my iPhone to my MacBookPro, but I don't want to restore the entire phone just for some photos.

The backups are stored in database files, typically in the following location

~/Library/Application Support/MobileSync/Backup

with one sub folder per backup. In the folder you'll find tons of .mddata and .mdinfo files. Somewhere in there are the deleted photos.

There are scripts around to help you extract what you want, but I found an application called "iPhone / iPod Touch Backup Extractor" and you can get it from

Launch the program and then click 'Read Backups'

It then reads the contents of ~/Library/Application Support/MobileSync/Backup and gives yu a list of backups you can restore from.

Select one, and it reads the backup. If you want to restore photos, scroll to the bottom and select 'iPhone OS Files'

Then click Extract, and you'll be prompted for a restore location

Let it do its thing. Depending on how much you've got in there it could take a while, and the program doesn't give any indication of progress. Have a coffee or a tea, and relax.

When its done, navigate to where you restored the files, and you'll see the folders

and in there are your photos.



Fáelán said...

Thanks. Unfortunately this didn't solve my problem, although it did work (i.e. did what you said). I've been having this issue lately where I'll open the camera app, take a photo, see it capture and shrink down to the little roll icon, and close the app. Then, a day or so later, I'll open the Photos app/camera roll. And it'll open, flicker for a second, and then the last picture I took will vanish. Never to be seen again. Doesn't appear anywhere. This is very annoying, as I use the photos ro keep records of transactions ona DAILY basis.

So I used this to try and extract the photo from the backup, but apparently the iPhone thinks I never took it at all.

The only solution I've found so far is to take like three pictures of an item to guarantee one of them doesn't magically vanish.

Has anyone encountered anything like this?

Anonymous said...

yes this because your iphone ios doesn't have right to right into that folder.

you need to jailbreak it and set 777 permission on dcim through openssh

Lily said...

Hi, is this Backup extractor only works with MAC pc and no others..?

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...

I searched using Google, and final found Myjad iTunes Backup Extractor software.

Unknown said...
This comment has been removed by a blog administrator.
Unknown said...

Try use FonePaw Software Solution:
* Disable iOS device automatic syncing in iTunes
* Connect your iPhone to your computer
* Lunch iOS data recovery software like FonePaw iPhone Data Recovery, and scan the iTunes backup files.
* Recover the photo files from backup