- #Exclude files in time machine backup mac 10.13.4 mac os x
- #Exclude files in time machine backup mac 10.13.4 install
I'm looking for the same solution, (Or was). Time Machine (And excluding files) is not a good solution.
If I can figure out what I am doing wrong here, then I can have the networkīackup for the three apples around the house.I answered this elsewhere as well, sorry for the redundancy but this question is asked multiples times on this site alone.
Idea, can’t figure out why it can’t “mkdir” as reported as the permissions on the CNID directory seem Subdirectories in /var/netatalk/CNID - the $u/$v/ directory specified in the afp.con file. The other thing is there seems to be a permission issue (?) with the cnid_metad trying to create the I have run the “defaults” command, and have verified that it is in force. But the mac will NOT see this mounted share when trying to setup the Time Machine disk. I can successfully mount a test volume (ZFS on the BSDbox) shared by netatalk on the mac, read and writeĪnother share on the BSDbox is a “time machine” enabled share.
#Exclude files in time machine backup mac 10.13.4 mac os x
The other end is mac OS X 10.11.3, the latest and greatest. I am usingįreeBSD 10.1-RELEASE running current netatalk. I am trying to solve a problem or two that I am having. This will make the share visible to TimeMachine.Īfter this, you should be able to see your Netatalk shares in Time Machine, and perform backups Then, mount your user's share using afp://. On each host that will perform backups, enable Time Machine to see non-TM volumes: defaults write TMShowUnsupportedNetworkVolumes 1 The next step takes place on your OS X client machine. usr/local/etc/rc.d/avahi-daemon onestart You'll need to start dbus, avahi, and netatalk, like this: /usr/local/etc/rc.d/dbus onestart The rest of the steps are exactly as in the previous blog entry. We can disconnect orphaned sessions and hopefully avoid the dreaded "volume in use" error in TimeMachine. By specifying /$u/$v, we get a CNID database for each user for each volume, which is much more reliable.īy specifying a disconnect time of one hour: disconnect time = 1 That generally results in corrupting the CNID database. Without this line, there is a single CNID database which is shared for all users who are using TimeMachine. This line vol dbpath = /var/netatalk/CNID/$u/$v/Įnsures that each user as a CNID database for each volume. Only members of the group "timemachine" will be able to use Time Machine. So, when Time Machine logs in as "tom", the data is stored at /storage/timemachine/tom. This means that for each logged in user, $u is substituted wth the name of the user. 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
#Exclude files in time machine backup mac 10.13.4 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.