The Time Machine Pruning Process
Apple’s Time Machine is an incredibly reliable backup system, but it operates on a strict “first-in, first-out” logic. When your external backup drive becomes completely full, Time Machine does not stop working; instead, it automatically deletes your oldest backups to make room for today’s new files. If you only use your backup drive to protect against a sudden hard drive failure, this is fine. However, if you rely on Time Machine as a long-term historical archive to recover a specific version of a document from three years ago, this automatic pruning can quietly destroy your most valuable data.
How to Prevent Automatic Deletion
Apple does not provide a simple graphical toggle switch to stop this behavior. The official way to “stop” the deletion is simply to buy a larger hard drive. However, advanced users can use a terminal command to revoke Time Machine’s permission to delete files, effectively freezing the archive.
1. Open your Terminal application (found in Applications > Utilities).
2. You must first disable the Time Machine daemon’s ability to run the pruning script. Type the following command and press Enter: sudo defaults write /Library/Preferences/com.apple.TimeMachine AutoBackup -bool false
3. You will be prompted to enter your Mac’s administrator password.
4. Next, you need to ensure the system warns you when the disk is full, rather than deleting files. Unfortunately, this requires manually managing your backups. You must remember to run backups yourself by clicking the Time Machine icon in the menu bar and selecting Back Up Now.
The Better Alternative: Archival Drives
Hacking Time Machine’s core behavior via terminal is risky and can lead to corrupted backup states when the drive physically hits 100% capacity. If you truly need permanent, undeletable archives, you should not rely on Time Machine. Instead, you should format a secondary external hard drive and use a dedicated cloning tool like Carbon Copy Cloner or SuperDuper! to create a static, read-only snapshot of your entire Mac at the end of each year. Store that drive in a safe, and allow Time Machine to do what it was designed to do: manage your daily, short-term recoveries.