Making Ubuntu Server machine a Mac Time Capsule

25 Feb 2020 Tutorial

Create a directory in your home directory.

Install netatalk and avahi daemon apt install netatalk libc6-dev avahi-daemon libnss-mdns

Open /etc/netatalk/AppleVolumes.default and change line that starts with ~/ to /home/(USERNAME)/Directory

Restart netatalk systemctl restart netatalk

Now open Time Machine settings on your Mac and select your Ubuntu server drive. Log in using your Ubuntu username and password.