Network Time Machine backups to another Mac
For a while now I’ve been wanting to setup Time Machine on my MacBook Air to backup to the external drive plugged into my Mac Mini, but one thing has been stopping me: transferring 80GB over wifi. I’ve tried it a couple times and even after 24 hours it’s nowhere near done (Time Machine slowness + wifi slowness = double slowness).
I also tried getting an initial backup by plugging the drive directly into my MacBook and then moving it back to the Mini once it’s done. But Time Machine stores network backups differently than it does if the drive is plugged in locally. When backing up over a network, it creates a sparse bundle disk image.
So last night I finally tried again and got it to work. The trick was to start the backup over the network which sets up the sparse bundle, and cancel it shortly after it started. Then when I plug the drive directly into my laptop, Time Machine is smart enough to see the sparse bundle and use that.
Here’s the recipe for getting network backups to an external drive started without doing the initial backup over the network:
Share the drive: With the backup drive still plugged into your host Mac (not the one that needs backed up), share the drive by going to Sharing in System Preferences. Enable file sharing and add the drive to “Shared Folders”.
Start the network backup: First, you need to enable backing up to “unsupported” network volumes (a.k.a. ones you didn’t shell out extra money to apple for). On the machine you want to back up over the network, open up terminal and run:
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
Now, go to Time Machine preferences and you should be able to select your shared drive should appear in the list of disks.
Cancel the backup: After the backup is done preparing and starts copying data, cancel it.
Attach drive directly: Eject your external drive from the host machine and plug it directly into the machine you want to back up. There should be a file on it titled [machine-name]_[MAC-address].sparsebundle. Make sure there is NOT a folder in
Backups.backupdbwith your machine name. I believe Time Machine will try to use that if it exists instead of using the sparse bundle.Now go to Time Machine preferences and switch your backup drive to the local drive. It should run a full backup now using the sparse bundle.
Switch back to network backup: Move your drive back to your host machine and switch Time Machine preferences to use the network disk. Sit back and enjoy network backups.
This worked for me. Let me know in the comments how it works for you.
The network backups have been working great so far. I closed my laptop while a backup was running this morning. When I opened my laptop back up on a new network, it complained that the network connection had been lost to the backup drive, but as soon as I got home this evening, the backup started again immediately.
7 comments
I accomplished this in the past by doing the initial back while both machines were plugged in to my router via ethernet (one was already plugged in anyway, so I just plugged in my laptop one evening and let it run).
Yeah, that works too…if your laptop has an ethernet port. :)
Wow, it works… I’m very happy because I use a special config: iBook 900Mhz G3 Screenless, with 2 firewire HDD plugged into the laptop, with usb printer on it, plus a usb HDD drive… all of these shared wirelessly + share screen from everywhere…. And they are hidden in a wardrobe. And I can do my Time machine backup everytime…. Thanks again for this tip !
I’m trying to just use a NAS share – not exactly following this recipe, just trying to use a net share. TM sees the (unsupported) drive but fails attempting to create the backup image. (
) I’m using a LaCie Ethernet Big Disk. Created the share with AFP support. HFS versus XFS file system issue?Yeah, I’d guess that it needs to be formated with HFS.
Excellent instructions. Thanks a million…which due the financial mess we are in is now a thousand… ;-)
Well it seemed to work then, I took the disk back to the server Mac and my notebook erased the original backup and started all over again. Must have done something wrong. I see the file “sparce bundle.” I interrupted, moved the disk as suggested. The minute I moved the disk back to the server Mac TM could not find the disk and when I set up a new disk, could not find the previous back up. Help!
Speak your mind: