Skip to content

Instantly share code, notes, and snippets.

@colindean
Created April 4, 2015 15:59
Show Gist options
  • Save colindean/ad87e088a1718bf0ef20 to your computer and use it in GitHub Desktop.
Save colindean/ad87e088a1718bf0ef20 to your computer and use it in GitHub Desktop.
afp and netatalk config for Time Machine backups
[Global]
uam path = /usr/local/etc/netatalk/uams
max connections = 256
tcprcvbuf = 262144
tcpsndbuf = 262144
server quantum = 262144
zeroconf = yes
guest account = guest
uam list = uams_passwd.so uams_gss.so uams_guest.so uams_dhx2_pam.so
veto files = /.AppleDB/.AppleDouble/.AppleDesktop/:2eDS_Store/Network Trash Folder/Temporary Items/TheVolumeSettingsFolder/.@__thumb/.@__desc/:2e*/.@__qini/.Qsync/.upload_cache/.qsync/.qsync_sn/
veto message = yes
use splice = 1
splice size = 16384
[TMBackup]
path = /share/MD0_DATA/.timemachine
invalid users =
rolist =
rwlist = "TimeMachine"
valid users = "root","TimeMachine"
file perm = 0777
directory perm = 0777
follow symlinks = yes
use splice = 0
acls = no
search db = yes
time machine = yes
delete veto files = yes
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">nastiest(AFP)</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=Mac</txt-record>
</service>
</service-group>
<!-- this is for avahi -->
[~] # afpd -V
afpd 3.0.5 - Apple Filing Protocol (AFP) daemon of Netatalk
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. Please see the file COPYING for further information and details.
afpd has been compiled with support for these features:
AFP versions: 2.2 3.0 3.1 3.2 3.3
CNID backends: cdb dbd last tdb
Zeroconf support: Avahi
TCP wrappers support: No
Quota support: Yes
Admin group support: Yes
Valid shell checks: Yes
cracklib support: No
EA support: ad | sys
ACL support: Yes
LDAP support: No
D-Bus support: No
DTrace probes: No
afp.conf: /usr/local/etc/afp.conf
extmap.conf: /usr/local/etc/extmap.conf
state directory: /var/netatalk/
afp_signature.conf: /var/netatalk/afp_signature.conf
afp_voluuid.conf: /var/netatalk/afp_voluuid.conf
UAM search path: /usr/local/etc/netatalk/uams//
Server messages path: /var/netatalk/msg/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment