Apple Mac OS X Time Machine over NFS (10.5 or greater)

  1. Create a Sparebundle to copy to your NFS/SMB/AFP volume
    hdiutil create -size $SIZEg -fs HFS+J -type SPARSEBUNDLE -volname “Backup of $MACHINENAME” $MACHINENAME_$MACADDRESS.sparsebundle
  2. Use ifconfig and sub in your $MACHINENAME_$MAC_ADRESS into the sparsebundle filename – Remove the ‘:’ chars
    e.g. 0018b31184dd
    Use hostname to get your machines hostname – Don’t use fqdn
    Size can be adjusted at a later date if required – g = gigabytes
  3. Copy the budle to the nfs volume
    cp -rp $MACHINENAME_$MACADDRESS.sparsebundle /Path/to/nfs
  4. Run the defaults command to turn on timemachine for unsupported volumes support (As normal user – don’t sudo)
    defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
  5. Now go to your System Prefrences and choose time machine
    Choose your NFS/SMB/AFP volume as the timemachine disc

Author: cooperlees

Nerd @ instagram

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s