寻觅生命中的那一片浅草......

ArchLinux搭建TimeMachine

因为netatalk在AUR仓库,所以无法直接使用pacman安装

cd /data/backup/tmp/
git clone https://aur.archlinux.org/netatalk.git
cd netatalk
makepkg -s
sudo pacman -U netatalk-3.1.12-6-armv7h.pkg.tar.xz 
sudo pacman -S avahi
sudo systemctl enable --now avahi-daemon.service

/etc/afp.conf

[Global]
;mimic model = TimeCapsule6,106
log file = /var/log/afpd.log
log level = default:info

[TimeMachine]
path = /data/backup/timemachine 
valid users = timemachine
time machine = yes
vol size limit = 500000

建立用户,目录等

sudo useradd timemachine
sudo passwd timemachine

cd /data/backup/
sudo mkdir timemachine
sudo chown -R timemachine.timemachine timemachine
sudo systemctl enable --now netatalk

参考

2024年十一月
« 5月    
 123
45678910
11121314151617
18192021222324
252627282930