Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

goffredo

macrumors member
Original poster
Nov 28, 2009
38
5
The rather odd titular inclusion of November 2018 is to help others following in my footsteps, as I've come across a TON of really old / stale information on this topic.

I have 3 macs on my home network that I would like to back up with Time Machine. I would like to do this wirelessly to a single hard drive, which is a perfect use case for a router that has a network attached storage (NAS) device: I have a router (LinkSys WRT3200ACM) that supports a USB3 NAS drive, on which I'm running DD-WRT (v3.0-r35831 std 04/26/18).

As far as getting a NAS to show up under "Shared" in my Mac Finder, I found numerous helpful guides online on how to enable USB and NAS services in DDWRT, and then how to set up a Samba (SMB) server to expose the NAS on my network. Surprisingly, on a test run with an old thumb drive that I formatted as FAT32, and it worked really well and was quite easy (I can post a how-to once I get this sorted out).

Note that I used FAT32, because the DD-WRT firmware on my router has built-in support for this. ext4 was claimed to be faster, but one needs to purchase a Mac utility to be able to format a drive in ext4, and so I deemed this as waaay too much trouble.

The next step, getting the Time Machine application to allow me to see and select the NAS drive as a backup drive, has become the friction point. Depending on the era, one trick (circa 2010) is the good old

Code:
defaults write come.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Apparently tweaking this unsupported preference will allow any NAS drive to show up in Time Machine's Select a Backup Disk list, such as the one I've attempted to expose over SMB. The rebuttal to this approach, in Pondini's reply at https://discussions.apple.com/thread/2289666, is that it's unsupported for a reason, and that Apple limits Time Machine to "seeing" only drives hosted on OS 10.5-era Apple Filing Protocol (AFP) file service. (Note that Apple Filesystem (APFS) is not related to AFP.) Something about AFP's support for journaling in the face of the network interruptions that a NAS could expect to experience, although I would be very surprised to learn that SMB couldn't be utilized to provide recoverable journaling.

Another approach, which seemed to work for me, was to use Disk Utility to create a Sparse Image of say 500 gigs, which is how Time Machine works behind the scenes, and then plop the resulting .sparseimage 500GB file on my (Samba-hosted) NAS drive. Upon doing this, the Time Machine v1.3 that comes with my Mac OS X 10.13.4 install happily let me select the sparseimage "drive" as my backup disk in Time Machine.

Then I just heard of someone attaching the HDD to a Mac Mini, and simply using the Mac Mini (instead of the router) to expose the HDD as a network share for the various Time Machine instances, also works, but seems kind of klunky.

So has anyone made some good progress here, with suggestions as to which "trick" to use? Is this an old topic that has been kicked to death and, one thousand apologies, but I simply didn't see the thread in my surfings AND it still miraculously applies to the new technologies of this, our year 2018?
 
I use an Airport Extreme with a Synology DS218j. I have installed two 3TB drives running in RAID1 and formatted to ext4. On the Synology, I have checked "Enable Opportunistic Locking" and "Enable Bonjour Time Machine broadcast via SMB". I don't know how they help but it was recommended from other users on the Synology forums.

Using a $200 NAS enclosure is not exactly DIY but honestly, I'm sick of messing around with tech just to achieve basic functionality. It has full Time Machine support, works with any router, and supports hot-swapping out dead drives. The whole thing was set up in an afternoon. It also comes with a raft of media and server features too, if that appeals.
[doublepost=1542431687][/doublepost]All that said, my real concern is why the backups take so long. The hard drive SATA connection does 1200Mbps, the Synology LAN port does 1000Mbps, my ac wireless connection is (currently) at 878Mbps, and a Finder file transfer saturates the connection-- but the Time Machine backup runs at 20Mbps. I know it's low priority but that number tells me something is broken.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.