Standard but got stuck in a small part.
pacman -S netatalk
Enable the netatalk process
systemctl enable netatalk.service
Set up the conf file at /ect/afp.conf. It ended up looking like this.
hosts allow = 192.168.1.0/16
log file = /var/log/netatalk.log
log level = default:debug
path = /media/samsung/timemachine
valid users = timemachine
time machine = yes
Start the netatalk process
systemctl start netatalk.service
Now go to your mac. Click on the finder and go to connect to server.
Now go to Time Machine and you should be ready to go!
A few notes while I’m here.
To mount an external usb drive.
will show you the drives that are connected and the names
make sure you have (pacman) ntfs-3g if you are trying to mount a ntfs drive and mount it by
mount -t ntfs-3g /dev/<devicename> <path to where to mount on local>
mount -t ntfs-3g /dev/sdb1 /media/samsung
When time machine is stuck at xxkb of xxxgb. Delete /.Spotlight-V100