I recently got one of the new mac mini's because it can finally run dual monitors. Yay Apple. Anyhow, this Time Machine thing sounded pretty cool so I kept trying to figure out how to get it to backup to my network drive but nothing seemed to work.
I read many a web page but nothing seemed to work. However, I did get it working thanks to a bit of info from each of the following sites:
- http://smangal.wordpress.com/2007/12/10/time-machine-with-network-drive/
- http://rolf.haynberg.de/?p=83
- http://www.flokru.org/2008/02/29/time-machine-backups-on-network-shares-in-leopard/#update-2
FYI: you have to manually ''eject'' your backup volume if you ever start Time Machine.
So here's how you ''really'' do it:
- make a sparse file locally
- copy it to your network drive
- start time machine
or with some details:
- make sure you've got a mounted network drive
- open up terminal
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
- make sure you're in your home directory (you have to create the sparse file locally)
ifconfig en0|grep ether
, to get your mac address, ignore the colons in future commandshostname
, to get your host namesudo hdiutil create -size 50g -type SPARSEBUNDLE -fs HFS+J -volname Backups 'your hostname'_'your macaddr
' to make a 50 gigabyte backup “drive”. Note the underscore between hostname and macaddrsudo mv 'your hostname'_'your macaddr'.sparsebundle /Volumes/'your network mount'/
- optional:
touch /Volumes/'your network mount'/.com.apple.timemachine.supported
- start Time Machine
- pick your network mount, supply a password, get backing up