eXtensions - Thursday 27 October 2016


System Preferences in macOS, Sierra: Time Machine


apple and chopsticks



advertisement


By Graham K. Rogers



In the latest update to System Preferences in macOS there have been some changes. Time Machine is used to backup the data on a Mac. It provides regular backups when a suitable disk is connected.


Time Machine enables backing up of the entire contents of a macOS system to a suitable, specified external disk. Apple expanded the function with Time Capsule: the addition of a disk to an Airport Extreme router. With OS X 10.7, Lion, Time Machine was altered to make day to day operations more efficient, including a basic ability to back up when a disk was not connected.

It is therefore now possible to view the Time Machine "Infinity" display whenever the Dock icon is pressed, once a Disk has been specified and set up. However, with no disk connected only limited recovery may be possible, if at all.

With Mountain Lion another useful option appeared - the ability to use more than one disk for backing up. This makes it possible to back up a computer using disks in different locations for better safety.


Time Machine


Setting Up (1)

When Time Machine is first opened on a new installation there are two parts to the panel displayed: to the left is large Time Machine icon; to the right the main information display area. Initially, the larger part of the panel will have a Time Machine disk icon above a button marked Select Backup Disk.

In this original setup condition, the main panel has a revised text description of the feature. At the bottom is a check box for display of the icon in the menu bar: this menu bar icon provides other controls when active. These are related to the Preferences, but are not identical.

There is no longer an On/Off button as in earlier versions. Initial setup is done using the Select Backup Disk button. Any additional disks are then setup using the Add/Remove button at the bottom of the list disks in use (see below). This reveals a panel in which a user may highlight a suitable disk for backups to use. Initially this also has an icon for Time Capsule - Apple's hard disk and Wi-Fi combination. Any suitable hard disk attached will also become visible.


Time Machine


Suitable hard disks may include a flash drive if it is formatted as Mac OS (Extended) although for all practical purposes this may be too small. For suitable capacity, disks of at least 500 GB or more are more useful.

A new feature is revealed when a suitably formatted disk is connected for the first time. A panel appears offering to add this to the Time Machine list of backup disks. A checkbox on that panel also allows the backup to be encrypted.


Time Machine


When Add Disk is pressed, there are a number of options. A list of disks used for Time machine is shown at the top of the panel. If one of these is highlighted the button at the lower right changes to Remove Disk.

Any new usable disk connected is recognized. It may be highlighted and the button changes to Use Disk. If an Airport router or Time Capsule device is available, that button changes to Set Up and opens the Airport Utility.

The panel revealed when selecting a disk for the feature will depend on the type of computer: a notebook, for example, will have a checkbox to allow use of the backup disk when using battery only. That window is also revealed by pressing the Options button at the bottom of the main Time Capsule panel (see below).

While Time Capsule is ready to run, a hard disk purchased from a store will probably need to be partitioned. However, while most disks in the past have been formatted ready for Windows systems, a few are now arriving ready formatted for macOS use. I never trust a disk out of the box and always format as a matter of course.

The formatting may be done before use in Disk Utility (in Applications > Utilities) and choosing the Partition tab. Once the size of the partition (or partitions) is decided, the Options button should be pressed. A user should choose Apple Partition Map or GUID.

The ability to use more than one disk offers a number of possibilities, such as backup disks in separate locations; or an easy transition from a full disk to its replacement.


Time Machine


When the system has recognized a disk and made it available, the main part of the panel changes. The disk icon is moved to the left and details of the disk (or disks) used are displayed: Name; disk space used and available; Backups from oldest to most recent.


Time Machine


During backups, a progress bar is displayed: Preparing Backup, Backing up; and Cleaning up. With USB 2 disks, the Cleaning up process may take a long time. This may be ended by clicking on the X available to interrupt the backup process to the right of the individual disk display, however, if this happens frequently, it may be wise to resort to maintenance utilities. A red "i" icon will appear alongside the information if the disk has not been used for backups for several days.


Time Machine


Setting Up (2)

The main panel now has a single button, marked Options. This reveals a panel with some extra features. We may prevent backing up of specific items (e.g folders, files) by use of a + icon below the main window, marked "Exclude these items from backups" (the - alongside will remove list items).


Time Machine



Pressing + opens a Finder window (by default mine opens in Applications as it had when I used earlier versions of OS X). There are two options here: Cancel and Exclude. At the bottom of that window is an Options button that adds a checkbox to the window, marked, "Show invisible items".

Two checkboxes at the bottom of the "Exclude" panel are marked "Back up while on battery power" (not on desktop computers); and "Notify after old backups are deleted." As the disk becomes full, so the earliest backup will be removed to make room for the current ones. This is a warning that it is time to obtain a new disk.



Backing Up

A disk can be used to backup more than one Mac, although space will obviously become a consideration sooner or later. Backup files are stored on the external disk in a Backups folder. Inside that are separate folders for each Mac.

With two Time Machine backup disks at home, I also have a disk at my office, so I alternate use of these. However, when using the Time Machine icon in the Dock to access older backups or files, only those backups that are available on disks that are attached at the time the feature is used will be accessible.


Time Machine


Clicking on Finder panels or the date scale to the right of the screen will only show those backups that can be used. With my 3-disk setup, therefore, a proportion of the days may not be opened, depending which backup disks are available. With Sierra this is shown by highlight bars on the right side (those available are bright red; those not available are a dull red). An available backup will also show a live Restore button to the right of a Cancel button, below the Finder displays.


The Oldest Backup will change as the disk is filled. Weekly backups will be deleted. The Time Machine panel shows the last time the disk was backed up. The first backup takes a long time. If there is more than one partition on the external disk, the transfer may be slowed if Spotlight indexes the others. Spotlight preferences can be used to drag the partition icon to the "Privacy" panel. Indexing will stop.

In earlier versions of OS X, whenever the disk was connected, the entire system was backed up every hour, every day and every week. Time Machine does not create a total clone. Any changes are recorded and Time Machine uses those for an incremental backup. The preferences panel does not have to be open for backups to occur.

To force a backup, we can use the Backup Now item in the Dock or the menu bar icon menu. If a backup fails, information appears in red, with the letter i in a red circle alongside. The "i" can be clicked on to reveal more information about the problem. Trying again (or perhaps a restart if this is persistent) should clear the problem.


Restoring

To return to a previous version of a file or folder, we access Time Machine via the Dock (or the menubar) icon. This brings up the "Infinity" window (above) and we may select a file from the Finder panel and a time: either by using the control to the right, or by clicking on the receding panels.

When a file is located we may click on Restore and the file will be moved to its earlier location. If a file of the same name already exists in that location, we are given the option to rename the file, or to save it elsewhere.

This feature works best when a disk is attached, but it will function up to a point without. In testing I have been able to return to previous file backups with no Time Machine disk attached. Even this can be a lifesaver, for example with a version of a file, or an item that was accidentally put in the Trash.


A complete system could be restored using "Restore from Time Machine" in the Rescue Partition that is available on all Macs running versions of OS X, since 10.7, Lion. In the event of a restore being necessary, we are able to use Command + R at startup to enter an invisible partition that has the tools necessary. There is a feature in here that allows a complete restore from the Time Machine backup.

This may also be done on a computer that already has macOS installed. Time Machine will replace all data, including settings and accounts. There are several warnings to inform us that taking this step will replace all the contents of the selected volume before this takes place.


Notes

Despite the availability of Time Machine and a number of other backup solutions, I am often reminded that people do not regard this as a necessary part of everyday computing. My students laugh when I ask about backups and others I know are not convinced of the need to take the time. It is usually something that happens to other people.

I have had a burglary, two disk failures (different computers and 3 years apart) and in all but the first, I was able to recover. More recently, while testing macOS, I caused irrecoverable problems to the installation on a couple of occasions. In the first disk failure, Time Machine helped me switch from a 15" to a 13" MacBook Pro and then when the repair was effected, back to the 15" - I hardly missed a beat and lost no data. With the more recent installation problems, I recovered the system in about an hour.

There are frequent tales of stolen or lost computers (same thing really), broken machines, files over-written, accidental deletions and other causes of lost data.

A backup plan is essential.


See Also:


Graham K. Rogers teaches at the Faculty of Engineering, Mahidol University in Thailand where he is also Assistant Dean. He wrote in the Bangkok Post, Database supplement on IT subjects. For the last seven years of Database he wrote a column on Apple and Macs.


advertisement



Google


Made on Mac

For further information, e-mail to

information Tag

Back to eXtensions
Back to Home Page