Christian

Kildau

Network Engineer


Welcome to my little blog. I am mostly techie over here, blogging about networking and system administration topics, but there will also be some Travel Reports from time to time…

How to Setup Ubuntu Lucid as a TimeMachine Server

March 18, 2010Christian Kildau1 Comment

I think starting with Lucid, Ubuntu ships netatalk 2.0.5 which makes setting up Linux as a TimeMachine server much easier. You no longer have to compile on you own nor do you have to create the sparsebundle.

Just install netatalk and avahi-daemon if you want to, add options:tm to AppleVolumes.default and you’re done.

1
2
aptitude install netatalk
echo /home/shared/timemachine  "TM" options:tm >> /etc/netatalk/AppleVolumes.default

If you want the service to be advertised on your LAN also install avahi-daemon and create /etc/avahi/services/afpd.service with this content:

1
2
3
4
5
6
7
8
9
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
</service-group>

Now you have to point TimeMachine to the TM share and that’s it. As long as you have a server with enough free space running at you LAN that saved you a lot of bucks compared to buying a TimeCapsule.

This article has one Comment
  1. Quinn
    2011/02/16

    Hey, I originally created a sparsebundle, do you know of a way to convert the sparsebundle to use this technique?


Leave a Reply