Archive 1997–2024

Averting Disaster - A Guide To Computer Backups (2014)

Built-in Backup Tools - OS X

Apple introduced Time Machine back with the Leopard release in 2007. Time Machine is an all-in-one built-in backup utility, allowing both file and image level backups with versioning. Time Machine will back up to internal or external disks, as well as the AirPort Time Capsule which is Apple’s own NAS specifically for backups. You can also back up to another Mac running at least Leopard, and with Mountain Lion Apple added the ability to backup to multiple destinations, with the backups alternating among the backup targets to provide additional levels of redundancy. Officially, Time Machine is not supported on other NAS devices. It does not work natively with Server Message Block (SMB) or Network File System (NFS) shares but instead requires the Apple Filing Protocol (AFP). If you are not going to use an AirPort device, ensure the NAS you select specifically supports Time Machine. Time Machine is simple to use, and yet powerful enough to be an almost complete backup solution for the Mac. Let’s look at how to set it up:

  1. First you need to configure a backup disk. Ensure you have your backup disk connected, or your AirPort Time Capsule configured, and then open the Time Machine menu from the menu bar by clicking the Time Machine icon and choosing Open Time Machine Preferences…

  1. On the Time Machine menu, click Select Backup Disk…

  1. Here it will display the available backup targets. Choose the backup target you’d like to use, whether it is an attached hard disk or the AirPort Time Capsule and click Use Disk. If the hard disk is not formatted with HFS+, you will be prompted to erase the disk and reformat which will of course delete any data currently on the backup target.

  1. Now that you’ve selected a disk, Time Machine will automatically start backing up.

Time Machine does a full backup of your system, and then it starts to back up every hour. If the backup target is unavailable it will delay the backup until it is available again. Because only changes are backed up, each successive backup is relatively quick. If you would like to exclude some files from being backed up, click the Options button in the Time Machine menu to add exclusions.

Other advanced options are not available, so there is no way to increase or decrease the frequency of backups or specify how many versions of a file to keep. The program will just back up indefinitely until it fills the available backup target, at which point it begins to delete the oldest files first.

Restoring files is relatively easy as well:

  1. Navigate to the folder where the file you want to recover should be (example – Documents).
  2. Click on the Time Machine icon in the menu bar and choose Enter Time Machine.
  3. This will open the restore interface, which shows a list of all of the previous backups sequentially. Using the arrows allows you to move from one backup to the next, or you can utilize the date bar on the right side which will allow you to move back to a known date. Selecting a backup date will then display the folder exactly as it was during the backup.

  1. Once you’ve located the file you wish to restore, select the file, and then click Restore. If the file was deleted, it will just be restored, but if the file still exists in its original location, you will be prompted to overwrite the file.

Time Machine can also be used within certain programs such as contacts, and restores operate in the same manner as files.

To restore the entire system to a previous state, hold down the Command and R keys at startup to enter the Recovery mode. In Recovery mode, one of the options is to restore from a Time Machine backup.

Originally published at https://www.anandtech.com/show/8030/backup-guide (Wayback Machine).