Netatalk

Netatalk is a free, open-source implementation of the Apple Filing Protocol. It allows Unix-like operating systems to serve as file, print and time servers for Macintosh computers.

Installation
Install :

Configuration
In this example, the icon model that appears on clients is a Mac Pro and all private IPv4 hosts are allowed access to a Time Machine volume.

Creating the /mnt/storage/TimeMachine folder

Allow all users read+write access. In practice a more secure configuration should be used with uam list = "uams_dhx.so uams_dhx2.so"

Edit /etc/afp.conf

To start :

To start at boot: