Step 1: Install Netatalk
|
apt-get install netatalk libc6-dev avahi-daemon libnss-mdns |
Step 2: Configure /etc/nsswitch.conf locate the line that reads:
|
hosts: files mdns4_minimal [NOTFOUND=return] dns |
Add “mdns” at the end. You should have that:
|
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns |
Step 3: edit /etc/netatalk/AppleVolumes.default Check that you have:
|
:DEFAULT: options:upriv,usedots |
Add a line in the shares like this:
|
<directory path where to store time machine files> "Time Machine" options:tm allow:<usertoallow> |
For me it looks like this for user “stfb”
|
/mnt/USBDrive/AppleTimeMachine "Time Machine" options:tm allow:stfb |
Step 4: add time machine dir + user
|
mkdir <directory path where to store time machine files> chown -R <usertoallow>: <directory path where to store time machine files> adduser<usertoallow> (follow prompt) |
…