Nov
17
Store Time Machine backups on AFP
Off-course you want to use timemachine now when you’ve set up your AFP server, I found everything whats needed in 3 easy steps on macosxhints.com.
on your local mac in Terminal type the following command.
hdiutil create -size $SIZE -type SPARSEBUNDLE -nospotlight -volname “Backup of $HOSTNAME” -fs “Case-sensitive Journaled HFS+” -verbose ~/Desktop/$HOSTNAME_$MAC_ADDRESS.sparsebundle
$SIZE = the maximum size of the backups (example: 160G)
$HOSTNAME = the hostname of your mac
$MAC_ADDRESS = the mac address of your first ethernet card without the columns
now move that file you just created to the destination afp share you created for timemachine backups (with rsync, scp, mv,..)
now issue the following command in the Terminal if you are running a lower version than MacosX 10.5.2
You don’t need to sudo for this!
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
now to be sure restart your mac, (logoff and logon should be enough, but hey..)
You should now be able to select your afp share as a time machine backup location and even some say your backup can get corrupted but then you still have your zfs snapshots right? I’ll explain that later!









