Time Machine is the brilliant, built-in backup solution for macOS. It takes hourly snapshots of your entire system, allowing you to recover a single deleted file or restore your entire Mac to a brand-new machine. While most users plug in an external USB hard drive, doing so defeats the purpose for a MacBook that frequently moves around. By configuring Time Machine to back up over Wi-Fi to a Network Attached Storage (NAS) device (like a Synology or QNAP), your Mac will back up silently and automatically the moment you connect to your home or office network.
Step 1: Prepare the NAS Drive
Before touching your Mac, you must configure your NAS to advertise itself as a Time Machine destination. (The exact steps vary by manufacturer, but the principles are identical).
- Log in to your NAS administrative interface via a web browser.
- Create a Shared Folder: Create a new shared folder specifically dedicated to backups (e.g., named “MacBackup”).
- Create a Dedicated User: Do not use your primary NAS admin account. Create a new user (e.g., “tm_user”) and assign it a strong password. Grant this user Read/Write permissions only to the “MacBackup” folder.
- Set a Quota (Crucial): Time Machine is designed to consume all available space until the drive is full, at which point it deletes the oldest backups. If you don’t set a storage quota on the NAS user or folder (e.g., limiting it to 2TB), Time Machine will eventually consume your entire NAS array, leaving no room for your other files.
- Enable the Protocol: Ensure that the SMB (Server Message Block) file-sharing protocol is enabled, and specifically check the box to “Enable Bonjour Time Machine broadcast via SMB.” (Older NAS units relied on the deprecated AFP protocol; modern macOS versions strongly prefer SMB).
Step 2: Connect the Mac to the NAS
Now, move to the Mac you want to back up.
- Open Finder.
- From the top menu bar, click Go > Connect to Server… (or press Cmd + K).
- Type
smb://followed by the IP address or hostname of your NAS (e.g.,smb://192.168.1.50). Click Connect. - When prompted, enter the credentials for the dedicated Time Machine user (“tm_user”) you created in Step 1. Check the box to Remember this password in my keychain.
- Select the “MacBackup” volume to mount it.
Step 3: Select the Backup Disk in Time Machine
- Click the Apple menu () and select System Settings.
- Navigate to General > Time Machine.
- Click the Add Backup Disk… button.
- Because you enabled the Bonjour broadcast on the NAS, the “MacBackup” shared folder should appear in the list automatically. Select it and click Set Up Disk.
- You will be prompted to enter the NAS username and password one final time to authorize Time Machine.
Step 4: Enable Encryption
Time Machine will ask if you want to encrypt the backup. Always choose yes when backing up over a network. If a thief steals your NAS, they can easily extract all your Mac’s data unless the Time Machine bundle is encrypted. Enter a strong backup password (separate from your Mac login password) and store it in a password manager.
Once you click Done, the initial backup will begin. This first run can take several hours (or days, depending on your Wi-Fi speed), but all subsequent hourly backups will only transfer the tiny changes made to your files, executing invisibly in the background.