Sub topic 5
Turning on Time Machine and running the first backup
This chapter turns Time Machine on, picks the destination, and follows the first backup from start to finish. It assumes you have chosen a destination (an external drive or a network share) and prepared it as in the earlier chapters. It also assumes you know your way around System Settings and can run commands in Terminal. Menu names below follow macOS Ventura and later. Older versions use System Preferences, and the wording differs slightly.
What happens when you add a disk
Time Machine is built into macOS and is controlled by a background service called backupd. It does nothing until you give it a destination. Adding a destination does four things:
- macOS checks the disk. If the format is unsuitable, it offers to erase it.
- It records the disk as a backup destination, with a unique ID.
- It applies your encryption choice.
- It schedules the first backup.
The first backup is the slowest because it copies everything that is not excluded. Later backups copy only what changed.
Step 1: Open the Time Machine settings
- Open the Apple menu and choose System Settings.
- Go to General, then Time Machine.
- Click Add Backup Disk….
A list shows the disks and network shares macOS can see. A disk that is plugged in but missing from the list usually has a hardware or cable problem. A network share must be reachable over SMB, or be a Time Capsule or a NAS that advertises itself as a Time Machine target. Connect to shares in Finder first if they do not appear.
Step 2: Choose the disk and set encryption
Select your disk and click Set Up Disk. The next dialog has an Encrypt Backup checkbox, which is described fully in the encryption chapter. For now, three points matter:
- Encryption applies to the whole backup volume. It is much easier to choose it now than to change it later.
- If you tick it, you create a password. Time Machine can store it in your login keychain, but you must keep a copy somewhere else, because a lost password makes the backups unreadable.
- The disk must be erased to be encrypted. If it already holds backups, macOS warns you.
If macOS says it must erase the disk, check that nothing else on that disk matters before you agree.
Step 3: Review the options
Back in the Time Machine pane, click Options… before the backup starts. You will see:
- The list of excluded items. The startup volume is backed up by default. Add large, replaceable folders now so the first backup is smaller. The exclusions chapter covers this.
- Back up on battery power on laptops. It is off by default, so a MacBook unplugged for a day makes no backups.
- Notify after old backups are deleted, which warns you when the disk fills and Time Machine removes old snapshots.
It also helps to enable the menu bar icon. In Control Center settings, set Time Machine to Show in Menu Bar. The icon animates during a backup. Its menu offers Back Up Now and shows the date of the latest backup.
Step 4: Watch the first backup
Time Machine normally starts the first backup within a few minutes of setup. You can start it yourself from the menu bar with Back Up Now. The pane shows the progress as a bar, with an estimate that is often inaccurate early on.
A backup moves through phases. The names below are the ones Time Machine reports.
The first run is long in the Preparing phase on a Mac with many small files, because Time Machine has to walk the whole file tree. The Copying phase is limited by the slowest part of the chain: the disk, the cable, or the network.
Rough guidance for planning:
| Destination | Typical first-backup speed | What limits it |
|---|---|---|
| SSD over USB 3 or Thunderbolt | Fastest, often under an hour for a few hundred GB | Mac and disk speed |
| Spinning hard drive over USB | Several hours for a few hundred GB | Disk write speed |
| NAS over Wi-Fi | Can take days | Wireless throughput |
| NAS over Ethernet | Slower than a local disk, much faster than Wi-Fi | Network and NAS CPU |
For a network destination, connect your Mac with Ethernet for the first backup if you can. Keep the Mac awake and plugged in. A laptop with a closed lid may pause the backup, and Time Machine resumes it when conditions allow. An interrupted first backup is not harmful. The next run continues from the data already copied.
Doing the same from Terminal
You can check the setup and control the first backup with tmutil, which is covered more fully in a later chapter. First, confirm that the destination exists:
tmutil destinationinfoThe output has one block per destination. Each block shows the name, the kind (for example Local or Network), the mount point, and an ID. The ID is what you use later to pick a destination when you have several. If the command says no destinations are configured, setup did not finish.
To start a backup and wait for it to complete, run:
tmutil startbackup --blockWith --block, the command does not return until the backup finishes, which makes it useful in scripts. Without it, the command returns at once and the backup runs in the background. In another Terminal window, you can read the progress:
tmutil statusThe output is a property list, abridged here, and the fields can vary by macOS version:
Backup session status:
{
BackupPhase = Copying;
ClientID = "com.apple.backupd";
Percent = "0.42";
Running = 1;
}Running = 1 means a backup is in progress. BackupPhase matches the phases in the diagram. Percent is a fraction from 0 to 1, and it can be "-1" while the backup is still estimating. When no backup is running, Running is 0.
After the first backup finishes, confirm that it exists:
tmutil latestbackupThis prints the path of the newest backup. If you get an error about permissions, grant Terminal Full Disk Access in Privacy & Security settings, quit Terminal, and reopen it.
Common first-backup problems
- "Add Backup Disk" lists nothing. Check the cable, then check that the disk appears in Disk Utility. A network share must be mounted or discoverable.
- The backup never starts. On a laptop, check that it is on power, or that battery backups are allowed. Also check that automatic backups are on in the pane.
- The disk is too small. Time Machine needs space for your data plus room for history. A common rule of thumb is a disk at least twice the size of the data you back up. Excluding large items shrinks the requirement.
- The estimate keeps changing. This is normal during the first run. Judge progress by the
Percentvalue and the phase rather than by the time remaining. - The backup stops with an error about the destination. Eject and reconnect the disk, or reconnect to the share, and click Back Up Now again.
Summary of what you now have
After the first backup completes, you have a complete copy of the included data and an hourly schedule that adds only changes. The next chapters explain how that schedule works and how old backups are thinned.
Exercise
You run tmutil startbackup in Terminal, and the command returns immediately. How can you make it wait until the backup finishes, and how can you check the progress from a second Terminal window?
Show answer
Add the --block option (tmutil startbackup --block) so the command does not return until the backup completes. From a second window, run tmutil status. It shows Running, BackupPhase, and Percent, so you can see whether the backup is preparing, copying, or finishing.
Exercise
A MacBook has Time Machine set up, but you find that no backups were made over a weekend spent working unplugged. Which setting most likely explains this, and where is it?
Show answer
The "Back up on battery power" option is off by default. It is in System Settings, General, Time Machine, under Options…. Turn it on, or keep the Mac plugged in so scheduled backups can run.