-Ball Tech
Using Time Machine with Lion and Ubuntu 11.10 network share
I am currently running Mac OS X Lion version 10.7.2. After upgrading from Snow Leopard to Lion, I found I was unable to backup to my network share on my Ubuntu server. After a bit of digging and cobbling together tips from various sources, here’s what I was able to get to work:
- Add the following sources to my /etc/apt/sources.list
deb http://ppa.launchpad.net/jstrunk-math/ppa/ubuntu oneiric main
deb-src http://ppa.launchpad.net/jstrunk-math/ppa/ubuntu oneiric main - Next install netatalk 2.2.1
sudo -i
apt-get update
apt-get install netatalk
If you get the error
W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F05216522B3F68C0
perform the following and repeat step 2:
gpg --keyserver keyserver.ubuntu.com --recv F05216522B3F68C0
gpg --export --armor F05216522B3F68C0 | sudo apt-key add -
- Add the following to the end of /etc/netatalk/afpd.conf
- -tcp -noddp -uamlist uams_dhx.so,uams_dhx2_passwd.so -nosavepassword -setuplog "default log_info /var/log/afpd.log" - Edit /etc/netatalk/AppleVolumes.default with your share:
# The line below sets some DEFAULT, starting with Netatalk 2.1.
: DEFAULT: options:upriv,usedots
/media/data "TimeMachine" cnidscheme:dbd options:usedots,upriv,tm - Restart netatalk:
service netatalk restart
If you run into issues with the above, you may need to remove afpd.service from your /etc/avahi/services and restart the avahi-daemon service and netatalk service:
service avahi-daemon restart
service netatalk restart