How To Backup (and Restore) your Mac using Time Machine [MacRx]

How To Backup (and Restore) your Mac using Time Machine [MacRx]

Backing up your computer is like flossing teeth or mowing the lawn – something you know you should do but usually don’t.  Apple has gone to great lengths to make Time Machine, the backup program included with Mac OS X Leopard and Snow Leopard, easy and fun to use.  Those aren’t terms which you typically hear applied to backup programs, and these efforts are to be commended.

Time Machine is easy to setup, but restoring files is not as intuitive.  Many of my clients ask me for help with how to do this, and how to ensure that their backups are running reliably.  Time Machine allows for restoration of files, folders, applications or an entire Mac, depending on your need.

A review of the process couldn’t hurt.  Like chicken soup from Grandma…

Setting Up Time Machine Backups

Time Machine requires a separate hard drive on which to store your data, you can’t backup to the startup drive.  Any USB or FireWire disk will work.  Get one with at least twice the capacity of your startup drive (larger is better).  You can also use a Time Capsule and some network drives, more on this below.

The default way to setup a Time Machine backup is dead simple. Connect the backup drive to your Mac.  If you haven’t yet setup Time Machine, when you plug in the disk a dialog will pop up asking if you wish to use the drive as a backup disk.  Click Use as Backup Disk and things will start automatically.

How To Backup (and Restore) your Mac using Time Machine [MacRx]

Pretty basic, ehh?

If this dialog doesn’t pop up (or to change an existing backup configuration) open up System Preferences –> Time Machine. Click on the Select Backup Disk… button, select the drive you wish to use for backups, then click Use for Backup…

How To Backup (and Restore) your Mac using Time Machine [MacRx]

You can also save backups to an Apple Time Capsule, a hard drive shared by a system running Mac OS X Server (Leopard or Snow Leopard) or (in some cases) a USB hard drive attached to an Apple Airport Extreme router (requires firmware 7.3.1 or higher – this works but is not officially supported).  Backing up to shared drives is convenient, though slower, and can be less reliable than a directly attached drive.  If your networked drive is Time Machine compatible it will show as an available choice in the Select Disk… window.

Excluding Items and Verifying that Backups are Running

Time machine has few setup options, but does offer some control.

To exclude items from your archive, open System Preferences –> Time Machine and click on Options… In this window you can add files, folders or entire drives that you don’t want included in your backups.  External drives connected to your Mac are not included in backups by default, you can change this behavior here.

Use the Time Machine menu in the Mac toolbar to verify the status of your backups.  The menu is a small clock in a circle near at the top right corner of your screen.  When Time Machine is backing up your data, the circle and the clock hands spin counter-clockwise.  Click on this menu to see the time of the Latest Backup.  You can run an immediate backup by choosing Back Up Now.

How To Backup (and Restore) your Mac using Time Machine [MacRx]

If you see an exclamation point inside the circle it means there is a problem with your backups.  Time Machine is known to stall out from time to time (no pun intended).  Many times you can simply choose Back Up Now to get things running again.  If not, Time Machine will display an error message (which may or may not be helpful).  More on this below.

Restoring Files from Time Machine Archives

You use the Time Machine application to browse your archives and restore files.  This is located in your Applications folder, and is placed in the dock by default on new Mac user accounts.  The Time Machine app is the most useful (and coolest) part of the program.  Add the icon to your dock if it isn’t already there.

How To Backup (and Restore) your Mac using Time Machine [MacRx]

When you launch Time Machine your screen morphs to a “time tunnel” view of your computer. The overlapping windows indicate files on your computer now (frontmost window), and at progressive snapshots in the past.  The right side of your screen has bars listing the dates and times of saved backups.

How To Backup (and Restore) your Mac using Time Machine [MacRx]

Click on any date bar to travel “back in time” and view the contents of your computer on that date.  The arrows pointing back and forward near the bottom right of the screen step things through one snapshot at a time.

Browse through your hard drive on any date to find the file, folder or applications you wish to restore.  You can use the Spotlight search field to help find items.  You can’t open files while in Time Machine, but you can preview many items using the Finder’s Quick Look feature – select the file and press the Space Bar to view the contents

Once you find what you need, select the file or folder, then click on the Restore button at the lower right of your screen. Time Machine will “zoom out” back to your normal desktop and restore the item to it’s original location.

Presto, your data is restored.  This is one of the Coolest Visual Effects I’ve ever seen any program do, much less backup software.  Really, really impresses the friends and neighbors.

DON'T MISS
Bootable Backups Are Easier With Superduper [50 Mac Essentials #42]

It’s worth browsing through your backups a few times to get familiar with how things are stored.  The ability to browse backups also helps verify that Time Machine is running correctly.

Sometimes the item you’re restoring still exists on your hard drive – for example, a newer version of a document you’re trying to restore back to an earlier state.  In this case Time Machine will popup another dialog giving you the option of keeping the Original file, the Restored copy, or Both.

View Mail and iPhoto Archives, Browse Other Disks or Restore an Entire Computer

In addition to browsing the Finder, Time Machine also allows you to view past versions of your Mail and iPhoto data directly from within those applications.  To do this launch Mail or iPhoto and make sure it’s window is frontmost on your screen.  Then click the Time Machine icon, and the “time tunnel” display will show snapshots back in time of your Mail folders or iPhoto Library.  If you’ve accidentally deleted something from your Inbox, here’s a way to get it back.

You can browse Time Machine archives on different disks by right-clicking (or control-clicking) on the Time Machine icon in the dock.  The menu will provide a choice to Browse Other Time Machine Disks… This can be used to restore files to a different drive or system from which they were originally backed up.

How To Backup (and Restore) your Mac using Time Machine [MacRx]

Sometimes you may need to restore you entire computer, such as after a drive crash.  You can use your Time Machine archive in conjunction with the Mac OS X Installer to do this.  Boot from the install DVD and once the Installer starts running choose Utilities –> Restore System from Backup. Be advised this may take a long time – many hours, or even overnight – but it works in an emergency.

All That Glitters…

Time Machine is simple to use and the price is right.  However, it is not robust, professional software.  As noted it is not uncommon for Time Machine backups to stall occasionally – or permanently.  This problem gets exacerbated when backing up to network drives, particulary shared backup drives.  In my experience locally attached USB or FireWire drives work most reliably, and Time Capsules or disks shared from an Airport Extreme router encounter the most problems.

I hope to cover troubleshooting Time Machine errors in a future MacRx column.  Meanwhile, Apple’s Support website contains lots of good information about solving Time Machine issues.  There is also a good overall tutorial called Mac 101: Time Machine on the same site.

About the author

oakbogAdam Rosen is an IT consultant specializing in Apple Macintosh systems new and old. He lives in Boston with two cats and too many possessions. In addition to membership in the Cult of Mac, Adam has written for Low End Mac and is curator of the Vintage Mac Museum. He also enjoys a good glass of Pinot Noir.

(sorry, you need Javascript to see this e-mail address)| Read more posts by .

Posted in How-To, MacRx, Software, Top stories |

  • Andrew

    How would you use Time Machine to rebuild your whole system onto a blank disk?

  • http://www.oakbog.com Adam Rosen

    Andrew – Booting from the Mac OS X Install DVD and using Restore System from Backup from the Utilities menu will allow you to restore an entire system from scratch. You can also do a standard install of OS X first, then use Migration Assistant (located inside Applications/Utilities) and choose the option From a Time Machine backup or other disk to import from your TM archive.

  • king

    TimeMachine is confusing to me and many people
    as a lot of people just do not understand how it works…

    i am currently using Carbon Copy Cloner , its so simple and dependable

  • numbercruncher

    Does using a drive as a Time Machine backup mean I can’t use it to store other files? And if I can, what happens if I use up so much space saving my own data, that there isn’t enough space left for backups?

  • http://www.oakbog.com Adam Rosen

    Yes, Time Machine drives can be used for additional data. TM keeps track of remaining free space on a drive and will notify you when things get full and it needs to start deleting old data. However it’s generally best to leave some breathing room. You can also partition a drive, then use one partition for TM and the other for your own storage.

  • VCM

    One part of this is bad advice, namely “You can also save backups to … a USB hard drive attached to an Apple Airport Extreme router” NO. That will fail at some point.

    Apple says it very clearly: “Time Machine can’t back up to an external disk connected to an AirPort Extreme …”

    http://docs.info.apple.com/article.html?path=Mac/10.6/en/15139.html

  • http://www.oakbog.com Adam Rosen

    VCM – Apple has flip-flopped regarding backing up to a disk attached to an Airport Extreme. Originally this was advertised as a supported feature. It was then removed (to some vocal outcry) when TM came out, due to technical limitations of AppleShare and this style of backups.

    Apple then briefly reenabled this support with the Airport Extreme firmware v7.3.1 (noted above as a minimum requirement), then “officially” said no again – hence your link to the technote – but left the capacity in the firmware.

    So – it works, but is unsupported. I’ve updated the post accordingly. Frankly I’d describe the Time Capsule the same way – it’s only a tad more reliable, and most likely it too “will fail at some point” Use a locally-attached USB or FireWire drive for best results.

  • VCM

    Thanks. This is my experience, too: It works for a while, but at some point will just fail – not ‘working’ well enough for me.

    I now use two directly connected USB disks (one at work, one at home), selecting the current one from Time Machine Preferences. That works fine and has nice added safety that one backup is always off site. One needs to protect the disks from curious individuals, though …

  • Honor Masse

    Still do not understand the 3 options when “restoring” files: replace, original or both. I’ve tried it with iPhotos and iTunes. If I have lost music, and I now have 2 iTune Library folder, which of the 3 options should I choose?

    Ever since I did software updates the other day, I’ve had problems with both iTunes and iPhoto.

    ITunes before update was 9, now it is 10 and there was no music, even my iTune store buys.

    • http://www.oakbog.com Adam Rosen

      Honor – if the file you are restoring from the Time Machine Archive also exists (as a newer version) on your hard drive, you be asked whether to ‘replace’ the newer file with the older copy, keep the newer ‘original’ version, or keep both files. If you’ve lost music you would want to Replace your iTunes library (or a subset thereof) with the older copy.

  • Jee

    Hi Adam. I already called the apple support line, but they were no help. I’m not sure if this is the right place to ask, but you seem very knowledgeable.

    The problem: For the past 1-2 weeks my kensington wireless mouse has been slow and imprecise. It needs to be precise because I use it for design work and gaming. It has been fine for a year. I can’t exactly remember the last update I installed, but I believe it to be the culprit for my mouse troubles. Is that possible?

    Here are the things I already checked:
    1) changed the batteries
    2) tried a wired mouse (same slow laggy response)
    3) turned up mouse speed to max
    4) DL MouseZoom (resulted in fast but jerky and imprecise movement)
    5) updated mouse software/drivers
    6) updated computer software
    7) rebooted comp several times
    8) called apple
    9) read forums

    I’m wondering if recovering my system with original installation disks and my time machine would maybe solve the problem? Would the mac still require me to install the latest update undoing any changes again?

    I’m also hesitant to wipe my system on a whim that might not work. I’d also have to dig up and restore all the work I’ve done in the past 2 weeks.

    Thanks for any help!