ThisCalculator

Everyday

Time Machine File Recovery: How to Restore Mac Files

Updated · Standard formula, shown below

Time Machine File Recovery: How to Restore Mac Files

Time Machine file recovery lets you restore lost or older versions of files on a Mac from a backup. You enter Time Machine, browse a timeline of backups, and select the file or folder you want to bring back. This article explains how the process works, how to use it, and what to do when things go wrong.

What Time Machine Is and How It Backs Up

Time Machine is the built-in backup feature in macOS. It automatically makes hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for all previous months. The backups are stored on an external drive, a network-attached storage (NAS) device, or an Apple AirPort Time Capsule. The first backup is a full copy of your Mac; subsequent backups only save files that have changed since the last backup, which keeps the backup drive from filling up quickly.

How to Recover a File with Time Machine

To restore a file, you first need to open the folder where the file was originally located. Then, enter Time Machine by clicking its menu bar icon and choosing “Enter Time Machine,” or by opening the Time Machine app from the Applications folder. The screen will show your current Finder window with a timeline on the right edge. Use the arrows or the timeline to go back to a date when the file existed. Select the file or folder you want, then click “Restore.” The file is copied back to its original location, replacing the current version if one exists.

Restoring a Deleted File

If the file was deleted, you can still recover it as long as it exists in a backup. Open the folder where the file used to be (for example, your Documents folder), enter Time Machine, and navigate back to a date before the deletion. The deleted file will appear grayed out in the Finder window. Select it and click “Restore.” The file is placed back in its original folder, even if that folder was also deleted—Time Machine recreates the folder structure as needed.

Recovering an Older Version of a File

Time Machine also lets you restore a previous version of a file that still exists but has been changed. Open the folder containing the file, enter Time Machine, and go back to a date when the file had the content you want. Select the file and click “Restore.” macOS will ask if you want to keep the current version, replace it, or keep both. Choosing “Keep Both” saves the current version with “(current)” appended to its name and restores the older version under its original name.

Common Problems and How to Fix Them

Several issues can prevent Time Machine recovery from working. If the backup drive is not showing up, check that it is connected and powered on, and that it is selected in System Settings > General > Time Machine. If Time Machine says the backup is corrupted, try using the “Verify Backups” option in the Time Machine menu while holding the Option key. If a specific file cannot be restored, it may not have been included in the backup (for example, files stored only in iCloud may not be backed up locally). In that case, check the iCloud website for the file.

Restoring Your Entire Mac from a Time Machine Backup

If your Mac fails to start, you can restore the entire system from a Time Machine backup. Restart the Mac and hold Command-R to enter macOS Recovery. Choose “Restore from Time Machine Backup,” select your backup drive, and pick the most recent backup. The restore process replaces everything on your internal drive with the backup contents. This can take several hours depending on the amount of data.

Alternatives to Time Machine for File Recovery

Time Machine is not the only way to recover files on a Mac. The Trash holds deleted files until you empty it, and you can often recover them by opening the Trash and dragging items back. Version History in apps like Pages and Numbers saves older versions of documents. Third-party backup software and cloud services like iCloud, Dropbox, or Google Drive also keep version histories and can restore deleted files. For files that were never backed up, data recovery software may help, but success is not guaranteed.

Frequently Asked Questions

How long does Time Machine keep backups?

Time Machine keeps hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for all previous months. It deletes the oldest backups when the backup drive runs out of space, so the total retention time depends on the size of the drive and how much data changes on your Mac.

Can I recover a file from a Time Machine backup on a different Mac?

Yes. Connect the backup drive to another Mac, open the Time Machine app, and browse the backups. You can also use the “Migration Assistant” to transfer files from a Time Machine backup to a new Mac.

Why is a file missing from Time Machine backups?

The file may not have been backed up because it was created after the last backup, or because it was stored in a location that Time Machine excludes (like certain system folders or files you added to the exclusion list). Also, files stored only in iCloud may not be on your Mac’s local drive, so they are not included in local backups.

Can I recover a file if I don’t have a Time Machine backup?

If you have no backup, you can try the Trash, app-specific version history, or cloud storage recycle bins. Data recovery software can sometimes recover files from the drive itself, but it is not reliable and should not be used on a drive you plan to keep using, as it may overwrite the data you want to recover.

Does Time Machine back up files on the internal drive only?

Time Machine backs up everything on your internal drive except files that are excluded by default (such as the system files and some caches) and files you explicitly add to the exclusion list. It does not back up other external drives unless you enable it in Time Machine settings.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.