Sub topic 3
Preparing: backup, free space, and power
This chapter assumes you can open System Settings and Terminal, and that you use an administrator account. It covers three checks to make before any large macOS update: a current backup, enough free storage, and reliable power. These checks take a few minutes and prevent most update problems that cause data loss or a half-finished install.
Why preparation matters
A major upgrade rewrites system files and may convert parts of the disk. If power fails or the disk fills during that work, the Mac can end up in a state that needs recovery. Your files are usually safe, but "usually" is not a plan. A backup turns a bad outcome into an inconvenience.
Step 1: Confirm your current version
Record where you start. If something goes wrong, this tells you what you are recovering to.
sw_versThe output lists ProductName, ProductVersion, and BuildVersion. Compare the version with what Software Update shows in System Settings.
Step 2: Make sure you have a recent backup
Time Machine is the built-in backup tool. Back up to an external drive or a network destination, not to the disk you are about to update.
To see when the last backup finished, ask tmutil for the path of the latest one:
df -h /
tmutil latestbackupThe tmutil latestbackup line prints the path of the most recent backup. The folder name ends in a timestamp, such as 2026-11-26-221500.backup. If the command reports no backups, or the date is older than you are comfortable with, open System Settings, go to General, then Time Machine, and run Back Up Now.
A backup you have never restored from is only a guess. For important data, open Time Machine once and confirm that a known file is present.
Step 3: Check free storage
The update downloads an installer, unpacks it, and needs working room during installation. Apple's requirements vary by version, so check the figure Software Update shows. As a rule of thumb, aim for at least 25 GB free for a major upgrade. Point updates usually need much less.
The first line of the earlier command, df -h /, reports space on the startup volume:
df -h /Look at the Avail column. On a modern Mac with APFS (Apple File System), several volumes share one container. The Avail figure for / is a reasonable guide, but it can differ from what Finder shows, because Finder counts purgeable space (such as caches macOS can delete on demand) as available.
You can also see a breakdown in System Settings under General, then Storage.
If you are short on space, work through these options in order:
- Empty the Trash.
- Delete large files you no longer need, starting with old downloads and disk images.
- Move photos, video, and archives to an external drive.
- Remove apps you no longer use.
Step 4: Secure power
Updates can take from several minutes to an hour or more, and the Mac restarts at least once.
- Laptops: plug in the charger and keep it connected for the whole update. Software Update may refuse to start a major upgrade on a low battery.
- Desktops: if the Mac is on a surge protector or a UPS (uninterruptible power supply), confirm it is switched on.
- Both: close open documents and save your work. Restarts happen without much warning.
Also keep a stable network connection, since the download can be several gigabytes. A wired or strong Wi-Fi connection reduces failed downloads.
Common mistakes
| Mistake | Consequence | Fix |
|---|---|---|
| Backing up to the disk being updated | The backup is lost if the disk has problems | Use an external or network destination |
| Trusting an old backup | Recent files are missing after recovery | Run **Back Up Now** immediately before updating |
| Starting with almost full storage | Download or install stops partway | Free space first, then retry |
| Updating a laptop on battery | Update refuses to start or shuts down mid-install | Connect the charger |
Exercise
You run tmutil latestbackup and the last backup folder is dated three weeks ago. df -h / shows 12 GB available, and you plan a major macOS upgrade on a laptop that is at 80% battery. Which preparation steps do you take before starting, and in what order?
Show answer
First run a new Time Machine backup with Back Up Now, because the existing one is three weeks old. Then free storage until you have comfortably more than the figure Software Update requires (about 25 GB as a rule of thumb for a major upgrade), since 12 GB is likely not enough. Finally connect the charger, even at 80% battery, because the upgrade can take a long time. Then start the update.
Exercise
Finder shows 40 GB available, but df -h / shows only 18 GB in the Avail column. What explains the difference, and which figure should you trust when an update reports too little space?
Show answer
Finder counts purgeable space, such as caches that macOS can delete when needed, as available. df reports only space that is free right now. If the update says there is not enough space, free up real space and use the df figure as the conservative guide. A restart can also release some purgeable space.