Migrate selected applications from a Time Machine backup

48

AFAIK there is no means of just restoring individual applications. However, thanks to the way OS X handles application data and settings, you should have no problems restoring the applications yourself. There's no real magic behind it.

I don't know if there are any known issues between OS X 10.6 and 10.7, which could lead to unexpected behavior. Especially for the preference files (plist), if there are any problems, just trash them on your 10.7 machine, and they will be restored to their default when the application is restarted.

Another neat trick you should remember for iPhoto or iTunes is that when you hold option and click the application's icon in the Dock, it will present you a dialog which allows you to choose a library.


How can I recover …

… iTunes?

  • … stores its library under ~/Music/iTunes. Just restore this folder.
  • Restore ~/Library/Preferences/com.apple.iTunes.plist to get your application settings.

For more information, see here: Migrate iTunes Library with meta-data to a new machine

… iPhoto?

  • … stores its library under ~/Photos/iPhoto Library. Restore the whole folder.
  • Restore ~/Library/Preferences/com.apple.iPhoto.plist to get your application settings.

More details in this answer: How do I back up iPhoto library to external HDD without using Time Machine

… Mail?

  • Restore ~/Library/Mail
  • Restore ~/Library/Preferences/com.apple.mail.plist

See here for more details: How do I move saved Mail.app mail from one machine to another?

… iCal?

This depends on the type of calendar you used, but I guess it should be enough to:

  • Completely restore ~/Library/Calendars for all your calendar data.
  • Remove the Calendar Cache file while iCal is quit (suggested here).
  • Restore ~/Library/Preferences/com.apple.iCal.plist for your preferences.

If you have trouble and still have access to the old system, you can also do the following:

  • Go to File > Export > iCal Archive
  • Use the Import feature to restore this archive

See How to back up iCal calendar data for more info.

… Keychain?

  • Restore ~/Library/Keychains/login.keychain
  • Restore any other keychain you might have saved in ~/Library/Keychains

… any other application?

Most applications that don't require an extra installer (i.e. the thing with dialogs) usually only need the following data to be restored:

  • Restore the main .app from /Applications
  • Restore ~/Library/Preferences/<bundle-identifier>.
  • Look for additional data under
    • ~/Library/Application Support. This is for example where Chrome and Firefox store their profile, Cyberduck stores its bookmarks, etc.
    • ~/Documents. This is where some apps store data, even if they really shouldn't.
    • Hidden files or folders in your home folder, beginning with ~/.. Use Terminal.app and run ls -la ~ to list them. Use open ~/.something to open it.
Share:
48

Related videos on Youtube

Open the way
Author by

Open the way

Updated on September 18, 2022

Comments

  • Open the way
    Open the way almost 2 years

    Am working on python and mongodb. I am trying to find names from a table with the by matching them with their phone no.s. The phone number is in a list which i created by getting the numbers from another table. Its working fine but I am getting the output being printed twice.

    phone = ["9585507882","9542158582"]           
    datum = []
    for i in phone:
        cursor = db.name.find({"phone": i},{"_id": False})
        value = yield cursor.count()
        if value is 0:
            pass
        else:
            result = []
            for document in (yield cursor.to_list(length=100)):
                datum.append(document)
            print(datum)
            self.write(bson.json_util.dumps({"result": datum}))
    

    My output is

    {"result": [{"phone": "9585507882", "name": "Sanjay"}]}{"result": [{"phone": "9585509882", "name": "Sanjay"}, {"phone": "9542158582", "name": "Joe"}]}
    

    can anyone help me out with this problem.

    • Tim Pietzcker
      Tim Pietzcker over 8 years
      I've never seen yield used this way. What's this about?
    • Tony Roczz
      Tony Roczz over 8 years
      @TimPietzcker I think this SO is using motor
  • Open the way
    Open the way almost 13 years
    thanks a lot I tried it and it works !!! I guess I can also try this for iCal and Keychain ???