Friday, March 6, 2009

How to restore iPhone App Store data from a backup

As I had a hard time figuring this out, this hint may be of help to others coming into the same situation...

I had a number of kernel panics due to a bad RAM stick. By the time I figured this out, my iTunes library file was damaged; iTunes built me a new one. However, when I plugged in my iPhone, it lost all the applications from the App Store, along with their data.

Restoring the applications was easy, as the files were still in ~/Music » iTunes » Mobile Applications. One just has to drag them into the iTunes window, with Applications selected from the sidebar. On the next iPhone sync, iTunes copied them onto the iPhone.

However, all the application settings and data were still missing. The up-to-date backup was of no help. One has to resort to an older backup from Time Machine or another backup system. The procedure is as follows:

1. Disable automatic syncing in the iTunes preferences under Devices.

2. Replace ~/Library/Application Support/MobileSync/Backup/abc123 with an older version from Time Machine. Note that abc123 is a very long alphanumeric key identifying to your iPhone -- make sure you get the right one, in case you sync with several phones or iPods.

3. Plug in the iPhone.

4. Control-click (in the iTunes sidebar) on the iPhone and choose Restore from Backup. At the end of the process, your iPhone will automatically restart.

You should be done at this point. Don't forget to turn automatic syncing back on (in iTunes preferences).


  © Blogger template 'Computer Logo' by 2008

Back to TOP