{ radak.org }         just another (tech) blog

14Aug/101

How to use Mac OS X TimeMachine with Samba or NFS

1. Set your computer name:
System Preferences - Sharing - Computer name
2. Enable network drives for TimeMachine:
in Terminal:
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
3. Create 200Gbyte sparsebundle:
in Terminal:
hdiutil create -size 200g -fs HFS+J -volname "My Backup" /tmp/`scutil --get ComputerName`_`ifconfig en0 | grep ether | awk {'print $2'} | tr -d ":"`.sparsebundle
4. Mount your share:
Finder - Go - Connect: smb://USERNAME@SAMBA_MACHINE/SAMBA_SHARE
5. Copy sparsebundle to samba share (1-2 min):
in Terminal:
cp -Rp /tmp/`scutil --get ComputerName`_`ifconfig en0 | grep ether | awk {'print $2'} | tr -d ":"`.sparsebundle /Volumes/SAMBA_SHARE
6. Set up TimeMachine Disk:
System Preferences - Time Machine - Change Disk: select your share

The first backup will take a long time!

Comments (1) Trackbacks (0)
  1. You can also use TM with afp share. Configure your back up on the same way as you do it with Samba but mount an afp device, that’s all.


Leave a comment


No trackbacks yet.