


You should notice that the path of the share is set to path=/storage/timemachine/$u I've chosen to limit Time Machine to 500GB space for each user. So, now that I have a compressed ZFS dataset to store the backups on, backup directories created, and a FreeBSD group created, I can create afp.conf. mkdir storage/timemachine/tomĬhown tom:timemachine /storage/timemachine/tom pw groupadd timemachineĪfter that, we need to create user directories, one for each time machine user. This group will be referred to in afp.conf. I want to grant the ability to do time machine backups to a FreeBSD group, so I'll make that, and add the users. Zfs set compression=gzip storage/timemachine my zpool is /storage, and the Time Machine backups will be in /storage/timemachine. Next create a ZFS dataset for the backups. Ensure that this line exists: hosts: files dns mdns
Time mahcine cannot detect netatalk drive install#
Firstly, as in the other recipe, the first step is to install netatalk3, and nss_mdns pkg install netatalk3Īvahi needs mDNS, so that needs to be configured in /etc/nf. The current FreeBSD port is version 3.1.3, so that helps. Note that this recipe will only work with Netatalk 3.1.2 or better. I would prefer to have all the backups in one directory, rather than scattered across user profiles.I would like the potential to use ZFS snapshots down the road.If I put the backups on a ZFS disk, I can compress them.That's messy and there is the potential that they'll accidentally delete the backup. The Time Machine backups are in every user's home dir.This approach worked well, but it had some problems: In this blog article, I described a way to use Netatalk3 to do Time Machine backups on FreeBSD.
