Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Has anyone figured out a way to get Windows Home Server to be used as a repository for Time Machine backups from Leopard without installing any additional software on the Mac machine? The new HP Media Smart's have this as an added value feature and I'd quite like to have this functionality on my homemade WHS box without shelling out for a new HP machine and migrating all my data across.

Windows Home Server makes it's volumes available as standard Windows File Shares (smb).

share|improve this question

closed as off-topic by Falcon Momot, MDMarra, Bryan, Scott Pack, Jenny D Jul 6 '13 at 18:04

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about hardware or software used in a home setting are off-topic because they require answers that may not be practical for the business and support professionals here. You should try asking on Super User instead." – Falcon Momot, MDMarra, Bryan, Scott Pack, Jenny D
If this question can be reworded to fit the rules in the help center, please edit the question.

4 Answers 4

up vote 6 down vote accepted

Thanks to both MrTomahawk and tptech for pointing me in the right direction. Turns out that there are a couple of tricks to this. For more information see the following:

Basically, you first create a share on your WHS for your Time Machine backups to go. I called mine "macbackup" and gave my user full permissions to the folder as well as set it to replicate so that I have a redundant backup of it.

Next, open up a terminal window on the Mac and switch on the magic preference

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Now, mount the share on your Windows Home Server using Finder.

Back in the terminal window, you now have to create a sparse bundle file. Take a look at the links above for more information, but basically you type a command like the following

hdiutil create -nospotlight -library SPUD -size [size_in_gigs]g -fs HFS+J -type SPARSEBUNDLE -volname "Backup of [hostname]"  -verbose [hostname]_[mac_addr].sparsebundle

Replacing [size_in_gigs] for the size you want to constrain time machine to use, [hostname] for the machine name of your mac and [mac_addr] for the mac address of the interface you want to use for the bacup (usually eth0 as doing the backup over wifi will take a while)

I used something like the following command:

hdiutil create -nospotlight -library SPUD -size 250g -fs HFS+J -type SPARSEBUNDLE -volname "Backup of martinmbp" -verbose martinmbp_002332c5437e.sparsebundle

Then copy this over to the mounted share using something like

cp -r [hostname]_[mac_addr].sparsebundle /Volumes/mackbackup/.

Now, go to System Preferences, Time Machine and select Change Disk.. Pick your WHS share that you have copied the .sparsebundle to and then leave for a long time if this is your first backup.

Seems to be working for me. I'll report back and edit this answer if I find any issues with it. Mileage may vary as Apple obviously left this functionality out for a reason, I'm assuming it is a technical one rather than a ploy to sell more Time Capsules so we'll see what happens.

Update:

Been using for few days so far and seems to be working ok. A couple of caveats:

  1. Reports of issues if you put the machine to sleep while performing a back-up. I did this as a test and had trouble getting the back-up volume to un-mount. In the end I had to reboot the machine to release the lock on whatever file was causing the issue.
  2. Problems if trying to restore from Time Machine backup using System CD. Because you have to set a preference to get the machine to pick up unsupported devices like Windows Home Server shares, it is unclear if you can restore a whole machine from the System CD that doesn't have the preference set. Personally I have a few whole image backups that I have kept around that I could restore from an external disk so this hopefully won't be an issue for me - the Time Machine stuff is really just an incremental backup. However I still need to test the restore process

It is unclear to me at this p

share|improve this answer

As far as I know, only HP has built this as extra functionality into their latest-generation HP Media Smart solutions. Which tells me that it should be possible for a nifty developer to make an Add-in that does this..

share|improve this answer

Have you tried using the flux capacitor script? I know you said that you don't want to install any additional software, but the flux capacitor doesn't install anything, but instead unlocks some of the built-in Time Machine restrictions. See here for more info:

http://www.techtalkforfamilies.com/blog/dale/how_to_use_mac_os_x_leopards_time_machine_over_a_network_without_buying_time_capsule

share|improve this answer

I'm afraid I don't know, but this answer (How to enable time machine backup to a NAS) may get you on the right track.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.