Skip to main content

netatalk

[Global]
mimic model = PowerMac
log level = default:warn
log file = /var/log/afpd.log
hosts allow = 192.168.1.0/24
uam list = uams_guest.so,uams_dhx.so,uams.dhx2.so
# uams_guest.so 允许匿名访问
guest account = www-data

[Homes]
basedir regex = /home

[Media]
path = /data/afp/Media
validusers = wener

[Time Machine]
path = /data/afp/TimeMachine
validusers = wener
time machine = yes

[Public]
path = /data/public

file perm = 0664
directory perm = 0775

timemachine

sudo docker run -h timemachine --name timemachine \
-e AFP_LOGIN= \
AFP_PASSWORD= \
AFP_NAME= \
AFP_SIZE_LIMIT= \
-v /route/to/your/timemachine:/timemachine -t -i -p 548:548 -p 636:636 odarriba/timemachine < YOUR_USER > -e < YOUR_PASS > -e < TIME_MACHINE_NAME > -e < MAX_SIZE_IN_MB > -d

FAQ

版本不匹配

当有 uam list 配置时会出现