Can Time Machine back up to an external HD connected to another Mac?

Is it possible to use Time Machine to back up to an external hard drive connected to a Mac on same wifi network?


Solution 1:

Yes. I've been doing this since Snow Leopard. All my MacBook Pros in the house do their Time Machine backups to an external USB drive that's hanging off an iMac running the standard OS X install (i.e. not Server). At the time of writing the iMac has been upgraded to Lion as has one of the MacBook Pros.

First, configure your target machine (the one with the USB drive attached):

  • Format the drive as OS X Extended Journaled. Give it a useful name. I use 'Remote Backups'.
  • Go to System Preferences -> Sharing
  • Make sure File Sharing is turned on and has a check mark next to it
  • Under the 'Shared Folders' list click the + button and add your newly formatted USB drive to the list of shared folders
  • Select the drive in the list and under 'Users' make sure everyone shown has read/write access to the drive.

Now you need to configure your source machine (the one you want to keep it's Time Machine volume on this drive):

  • Open Finder on the machine. Find your target machine and click on it. Mount the drive on this machine.
    • If you're asked for a user name and password use the user name and password on your target machine that you used to login and setup the share. Make sure you save this user name and password to your keychain
  • Go to System Preferences -> Time Machine
  • Click Select Disk...
  • The list should include the mounted drive, select that. Pick your encryption options and hit the Use Backup Disk button

You're now all set up to use this remote drive as your Time Machine backup location. When Time Machine runs you'll see this drive appear as a mount on your system, and when it's done the mount will go away.

If you browse this drive from the target machine you'll see sparsebundle files, one for each machine that's doing a Time Machine backup to this drive, on the disk. These are the actual "disks" that Time Machine is using on each machine to keep the incrementals. If you click on one, it should mount and you should be able to browse it like normal.

If you have a complete disaster and need to do a fresh OS X install and recover from Time Machine you can point the recovery process at the remote drive and it will ask you to pick a sparsebundle from the drive to recover from. Or, and this is what I recommend, you can unattach the drive from your target and attach it via USB to your machine and do the restore over USB which is much faster.

I can confirm that complete restores from Time Machine backups kept in this manner work well. I've had to do two of them in the past few years on machines that keep their backups this way and both went smashingly well. Browsing Time Machine history in the Time Machine viewer can be a bit laggy, but it does work.

Solution 2:

The answer by Ian C. is correct. However, one small (but important) detail has been overlooked (one that took me a good hour to figure out!).

If the drive is not showing up in Time Machine on your Source Machine (the machine you want to back up), do the following:

  1. Open 'System Preferences' on the Target Machine (the machine that has the External Drive attached).
  2. Click 'Sharing' then 'Options'.
  3. Untick 'Share files and folders using SMB'
  4. Make sure 'Share files and folders using AFP' is ticked.

Now go back to your Source Machine and your External Drive should show up in the list of Time Machine Backup Disks!

Solution 3:

If the Mac is running OS X Server (In 10.7, not sure if this is available for 10.6) then you can turn on Time Machine Server, which does exactly what you need. There's no need to run any of the other server tools if you don't want. this is the only officially supported way to do this that I know of.

Solution 4:

I am running High Sierra on the source and target machines and ran into some difficulties with this process but then got it to work. I didn't bother with SMB vs. AFP as noted above (left them both turned on), but what I discoverd on the System Preferences, Sharing screen is that in addition to the Options button which has general choices about sharing SMB and AFP, you can two-finger click on the Shared Folder itself in the Shared Folders list and then choose Advanced Options from the context menu to get other options that apply to that particular share only. Specifically, there is a checkbox for 'Share as a Time Machine backup destination" and a sub-choice to limit the size of backups. Once I set those parameters and went back to the source machine, the share was visible as a valid backup destination.