Periodically backing up your computer is always a good idea. You want to make sure your documents, photos, and files are protected in case of hardware failure, software glitch, or malware attack. Apple makes this process easy for Mac users with the built-in Time Machine tool, which lets you back up your entire system and then restore individual files or the entire drive.
You can trigger manual backups or set them to run automatically. Backups can be stored on USB or Thunderbolt external drive, another Mac serving as a Time Machine destination, or a network-attached storage (NAS) device that supports Time Machine over Server Message Block. Here’s how to set up Time Machine for each backup media.
How to Set Up Time Machine
Time Machine has not changed in years, so the process is the same no matter which version of macOS you happen to be running. However, the initial setup process will differ based on your backup media.
Set Up with an External Drive
In the case of an external drive, plug it into your Mac and make sure its icon appears on the desktop. With macOS Ventura or higher, open System Settings > General > Time Machine and click the Add Backup Disk button.
For older versions of macOS, open System Preferences > Time Machine > Select Backup Disk, then select the drive and click Use Disk.
If the disk has not been formatted to support the Mac and Time Machine, you are asked to erase the disk first. Once this happens, the drive is then ready.
Set Up with Another Mac
To use another Mac as your backup destination, you will need to create a shared folder on it to serve as the backup location. Apple can walk you through the process(Opens in a new window) of enabling File Sharing and making a folder compatible with Time Machine.
You then connect the two computers by opening Finder on the Mac you wish to back up and double-clicking the destination Mac listed under Network. Enter the username and password for the destination Mac and click Connect. You should then see the shared folders on that Mac, including the backup folder you set up.
From the Mac you want to back up, open System Settings > General > Time Machine in Ventura or higher (System Preferences < Time Machine in older OSes). Click Set Up Disk, then choose the backup share on the destination Mac. Click Use Disk and enter the username and password for your destination Mac.
Set Up with Network Storage
Backing up to a NAS device can be tricky because Time Machine works only with certain volume types(Opens in a new window). If you own a Synology NAS, Synology supports Time Machine and provides a support page(Opens in a new window) on how to use your NAS for backups. For other network storage options, you may need to contact the vendor for more information on the device’s compatibility with Time Machine.
If you are able to use your network storage, open the Time Machine preferences on the Mac you want to back up. Click Select Disk and choose the backup share on your network device. You are then asked by Time Machine to enter the username and password for your network share.
How to Set Up Manual and Automatic Backups
By default, the backups are set to run automatically. Time Machine keeps local backups based on available disk space, hourly backups for 24 hours, daily backups for a month, and weekly backups for all the past months. The oldest backups start to get deleted as you run out of space on your backup media.
If you do not want the backups to run automatically, open to the Time Machines settings menu and click the Options button. Next to Back up frequency, click the drop-down menu and change the selection to Manually.
While here, you can also choose any folders that you want to exclude from the backup and decide whether or not your Mac should be backed up when on battery power.
To perform a manual backup, click the Time Machine’s menu bar icon and select Back Up Now. Your system is then backed up in the background. Now if you click the Time Machine icon in the menu bar, you will see the progress of the backup. A notification will appear on the screen when the backup is complete.
Recommended by Our Editors
You can stop the backup by selecting Stop This Backup. Keep in mind that a backup running over a network will take much longer than a backup to a connected drive. Apple can help you if the backup takes longer than expected(Opens in a new window).
How to Restore Individual Files
To restore an individual file or multiple files from a backup, click the Time Machine icon in the menu bar and select Browse Time Machine Backups. Several cascading windows pop up, with each window pointing to a different backup.
A label to the right of the window will indicate from when the backup was taken. You can use the up and down arrows to find a previous backup that has the files you need. Once you find the correct backup, select the folder with the files you wish to restore, then click the Restore button to bring the files back to their original location.
How to Restore a System Backup
To restore your entire system from a backup, connect your Time Machine disk to your Mac. If the backup is on a network share, make sure your Mac is on the same network. You will then need to reinstall macOS as part of the factory reset process.
Once the operating system is reinstalled, you can then transfer your existing data using the Migration Assistant. Choose From a Mac, Time Machine backup, or Startup disk from the menu and click Continue.
You then select your Time Machine backup media and click Continue. Confirm the information to transfer, deselecting any content you do not want restored, then click Continue. Create a password for your account and click Continue. The information from your backup is then transferred and restored.
A notice will then tell you when the migration is complete. Click Done, sign back into your Mac, and finish the setup.