Sub topic 13
Verifying that backups are working
A backup you have never checked is a guess. Time Machine can fail quietly: a drive disconnects, a network share goes offline, or the disk fills up. This chapter shows how to confirm that backups are recent, complete, and restorable.
This chapter assumes you have already set up a destination and run a first backup. For the command-line sections, you need to be comfortable opening Terminal. Terminal may need Full Disk Access (System Settings > Privacy & Security) before tmutil can read backup paths.
What "working" means
Three separate questions make up a backup check:
- Recent: did a backup finish lately?
- Complete: does the backup contain the data you care about?
- Restorable: can you actually get a file back out of it?
Most people only check the first. A backup that is recent but unreadable is no use to you, so aim to cover all three.
Check recency in the Time Machine settings
The quickest check uses the interface:
- Open System Settings > General > Time Machine (on older macOS versions, System Preferences > Time Machine).
- Select your destination. The panel shows the oldest backup, the latest backup, and the next scheduled backup.
- The Time Machine menu bar item, if enabled, shows the same "Latest Backup" line in its menu.
Judge the latest backup against your schedule. Time Machine normally backs up hourly while the destination is reachable. A "latest backup" from three days ago on a Mac that was in use all week means something is wrong.
Check recency from Terminal
The tmutil tool gives you the same information in a form you can script. First confirm the destination is configured:
tmutil destinationinfoThen look at the current state and the newest backup:
tmutil status
tmutil latestbackuptmutil status prints a property-list-style block. The fields to read are:
| Field | Meaning |
|---|---|
| `Running` | `1` if a backup is in progress, `0` if idle |
| `BackupPhase` | Current step, such as `Copying` or `ThinningPostBackup` |
| `Percent` | Progress of the running backup (can show `-1` when unknown) |
| `ClientID` | Which process started the backup |
tmutil latestbackup prints a path whose last part is a timestamp, for example 2026-11-27-091500.backup. If it reports an error or no path, the destination is probably not mounted, or Terminal lacks Full Disk Access.
A small age check
This script turns the timestamp into an age in hours and warns you when it exceeds a limit. It uses the macOS date syntax (-j -f), so it will not run unchanged on Linux.
#!/bin/bash
# Warn if the newest Time Machine backup is older than MAX_HOURS.
MAX_HOURS="${1:-48}"
latest=$(tmutil latestbackup 2>/dev/null)
if [ -z "$latest" ]; then
echo "WARNING: no backup found. Is the destination connected?"
exit 1
fi
stamp=$(basename "$latest" .backup)
backup_epoch=$(date -j -f "%Y-%m-%d-%H%M%S" "$stamp" "+%s" 2>/dev/null)
if [ -z "$backup_epoch" ]; then
echo "WARNING: could not parse backup name: $stamp"
exit 1
fi
age_hours=$(( ( $(date +%s) - backup_epoch ) / 3600 ))
echo "Latest backup: $stamp (${age_hours}h ago)"
if [ "$age_hours" -gt "$MAX_HOURS" ]; then
echo "WARNING: backup is older than ${MAX_HOURS}h"
exit 1
fiSave it as tm-age.sh, run chmod +x tm-age.sh, then run ./tm-age.sh 24 to test a 24-hour limit. The exit code is non-zero on a problem, so you can call it from a scheduled job or a login script.
Confirm that the destination is reachable
Many "silent" failures are just a missing disk. Check three things:
- External drive: it appears in Finder and
tmutil destinationinfolists it. A loose cable or a sleeping hub is a common cause. - Network share: the Mac can reach the server. Time Machine mounts the share when it needs it, but a changed password, a renamed server, or being on a different network stops that.
- Free space: Time Machine deletes the oldest backups to make room, but a full disk or a quota that is too small can still make backups fail.
If destinationinfo shows nothing, Time Machine has no destination configured, and nothing is being backed up.
Read the logs
When the settings say "backup failed" or the date is stale, the system log explains why. This command shows the last hour of Time Machine messages:
log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 1hLook for lines that include words such as failed, error, not mounted, or insufficient space. Widen the window (for example --last 1d) to see an earlier failure. The output can be long, so pipe it through grep -i error to narrow it down.
Check the integrity of what was stored
Recent does not mean intact. Two tools help.
Verify Backups (network destinations). On a Time Machine backup stored as a disk image on a network share, hold Option and click the Time Machine menu bar icon. A "Verify Backups" item appears. It checks the backup image and can take a long time. It does not apply to backups stored directly on a local APFS disk.
Checksum verification from Terminal. Recent macOS versions include a tmutil subcommand that checks stored files against their checksums:
tmutil verifychecksums /Volumes/Backups/Backups.backupdb/MyMac/2026-11-27-091500.backupReplace the path with a real one from tmutil latestbackup. Expect a long run on a large backup, and run man tmutil to see whether your macOS version supports this subcommand. Another useful command is tmutil compare, which compares your current disk with the latest backup and lists differences. That output is large on a Mac in daily use, so it helps most when you are checking a specific folder.
The test restore
A test restore is the only check that proves the backup works end to end. Do it after the first backup, after any big change (new Mac, new disk, macOS upgrade), and every few months.
- Pick a real file you can recognize, such as a document in
~/Documents. - Open the folder that holds it in Finder, then open Time Machine from the menu bar (Enter Time Machine).
- Step back to a date at least a day old. Time Machine only shows past versions of the folder, so changes made after the last backup will not appear.
- Select the file, press Space to preview it, and confirm the contents are correct.
- Click Restore. Restoring a file that still exists on your Mac prompts you to keep the original, keep both, or replace.
- Open the restored file in its normal application.
The preview step tests that the file is readable in the backup. The final open tests that the restored copy is usable. Do both.
Check local snapshots separately
Local snapshots are short-term restore points that Time Machine keeps on your Mac's own disk. They are not a substitute for the external backup. List them with:
tmutil listlocalsnapshots /If you see snapshots but your external destination has an old "latest backup", you have local protection against deletions but no protection against losing the Mac or its disk. Verify the external backup, not the snapshots.
A simple routine
| How often | Check |
|---|---|
| Weekly | Look at "Latest backup" in settings or the menu bar |
| Monthly | Run the age script, confirm free space on the destination |
| Quarterly and after major changes | Do a test restore; scan the logs for errors |
Common mistakes
- Trusting the menu bar icon alone. It shows the last attempt, not whether your important folders were included. Check exclusions in the Time Machine settings.
- Never testing a restore. Encryption passwords, permissions, and disk faults only show up when you read the data back.
- Checking only local snapshots. They disappear when the disk fails.
- Ignoring a destination that mounts late. A laptop that sleeps most of the time may rarely overlap with its backup disk. Keep the disk connected for long enough to finish backups.
Exercise
tmutil latestbackup prints a path ending in 2026-11-20-081500.backup, and today is 2026-11-27. The Mac was used every day this week and the drive is plugged in. Name two checks you would do next, and why a test restore matters even after you fix the problem.
Show answer
First, run tmutil status and tmutil destinationinfo to see whether Time Machine is running and whether the destination is configured and reachable. Second, read the Time Machine log with log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 1d and look for errors such as insufficient space or a failed mount. A test restore matters because a recent timestamp only shows that a backup ran. Restoring a real file and opening it shows that the data is readable and usable.