Setting up a Ubuntu Time Machine server for Mac OS X Snow Leopard backups. Netatalk 2.0.5-3 and Ubuntu 9.10 minimal was used for this configuration.
**UPDATE 2014-01-13: The installation procedure has changed with later versions of Ubuntu and netatalk.
dpkg -i libdb4.8_4.8.26-1_i386.deb
dpkg -i libgcrypt11_1.4.5-2_i386.deb
apt-get install libcrack2
dpkg -i netatalk_2.0.5-3_i386.deb
chmod a+rw /storage/TimeMachine
change the last part to look like this:
# By default all users have access to their home directories.
#~/ "Home Directory"
/storage/TimeMachine "TimeMachine" options:tm
apt-get install avahi-daemon
apt-get install libnss-mdns
add “mdns to end of line to look like this:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 mdns
Paste the following code and save:
Reboot the server:
After the machine returns from reboot, you can check to see if everything is running:
ps -ef | grep afpd
ps -ef | grep avahi
Should you need to manually connect to server via finder, you can:
Go —> Connect to Server and type
If you were not able to log in, you can check in
/var/log/daemon.log on your linux server
for any debug messages.