Why does my Time Machine backup keep failing?
Diagnose and fix recurring Time Machine backup failures on macOS from the Terminal: check status, verify the destination, and confirm a completed backup.
What this covers
When Time Machine fails repeatedly, the cause is almost always one of three things: a dead or missing destination, a stuck run, or one problematic folder that never syncs. This guide walks through all three from the Terminal — no reinstalling, no guesswork.
Symptom
Check what Time Machine is doing right now
Before changing anything, find out whether a backup is stuck, erroring, or simply hasn't run. Checking the current status and the timestamp of the newest backup tells you if Time Machine is failing mid-run or hasn't backed up in days. If the status shows an error or the latest backup is far older than your backup interval, you have a real failure to dig into.
Two tmutil queries answer 'is Time Machine working?' — status shows the running state, latestbackup the newest backup.
$ tmutil status && tmutil latestbackupConfirm the backup destination is still valid
Many 'keeps failing' cases come from a destination that no longer resolves: a renamed disk, an unplugged drive, or a network share that changed. Checking the destination info shows which volume Time Machine is pointed at and whether it's available. If the destination is missing or shows as unavailable, that's your root cause.
Find out which disk or network share Time Machine is using as its backup destination, straight from the terminal.
$ tmutil destinationinfoSearch the unified log for the actual error
If the status doesn't make the cause obvious, the system log usually does. Filtering the unified log for the last hour surfaces kernel-level messages from around the time the backup failed — disk I/O errors, disconnections, or space problems. What you find here decides whether the fix is the destination, the disk, or the data.
Filter macOS's single unified log by process, message type, or subsystem straight from the Terminal.
$ log show --last 1h --predicate 'process == "kernel" AND messageType == 16' --style compactRe-point Time Machine at a healthy destination
If the destination was missing or pointing at a dead volume, set it again to the correct backup volume (or add a second rotation disk). This recreates the link Time Machine needs. It worked when the destination shows up correctly and Time Machine stops complaining about a missing disk.
Point Time Machine at a backup volume or add a second rotation disk directly from the command line.
$ sudo tmutil setdestination -a /Volumes/BackupDisk▾ Undo
$ sudo tmutil removedestination <destination-uuid>Exclude folders that break or bloat the backup
Backups often fail because one huge or constantly-changing folder — VM images, caches, build directories — never finishes syncing or fills the disk. Excluding such folders lets every other backup complete. Add exclusions for anything volatile that you don't actually need to restore.
Keep volatile folders like VM images and caches out of every backup.
$ sudo tmutil addexclusion -p "/Users/apple/Downloads/虚拟机镜像"▾ Undo
$ sudo tmutil removeexclusion "/Users/apple/Downloads/虚拟机镜像"Kick off a backup now and watch it run
Don't wait for the next scheduled run — start a backup immediately to confirm the fix. Watch it progress without erroring out. If it stalls again, go back to the log step; if it completes, the failure is resolved.
tmutil startbackup kicks off a backup immediately — handy before system updates or big changes.
$ tmutil startbackup▾ Undo
$ tmutil stopbackupConfirm the new backup actually landed
Finally, list all backups and check that a new dated entry appears at the bottom. That dated folder is proof the backup completed and is restorable. From here on, Time Machine should keep producing new entries on schedule.
Print the mounted path of every dated backup on your Time Machine disk, newest last.
$ tmutil listbackupsHow to confirm it worked
Start a manual backup, let it finish without errors, then confirm a new dated backup appears in the backup list.
Undo everything
Every command above can be reverted. Run these in order to undo all of it.
$ tmutil stopbackup
sudo tmutil removeexclusion "/Users/apple/Downloads/虚拟机镜像"
sudo tmutil removedestination <destination-uuid>Review before running — some steps may not be independent.
Sources
- tmutil — Time Machine utility (macOS man page)Evidence: Documents tmutil status (running/stopping state) and tmutil latestbackup (path of most recent snapshot).
- TMUTIL(8) - macOS manual pageEvidence: The manual page contains 'tmutil destinationinfo' and describes it as printing information about the destination(s) configured for Time Machine backups.
- macOS log — show the unified logging system dataEvidence: Documents log show, --last, --predicate and --style options for the unified log.
- TCP and UDP ports used by Apple software products - Apple SupportEvidence: Reference for network ports Time Machine uses when backing up over the network to a destination.
- Use Time Machine on MacEvidence: Apple Time Machine documentation
Last verified: 2026-09-21