[Samba] How to configure Time Machine backups?
ivan.lezhnjov.iv at gmail.com
Tue Jan 2 18:23:18 UTC 2018
I’m migrating from AFP to Samba and would like to configure Time Machine to write backups over network to a SAMBA share.
I use samba version 4.3.11 (deb package version 2:4.3.11+dfsg-0ubuntu0.16.04.12) on Ubuntu 16 LTS. My setup macOS Sierra 10.12.6 and a simple standalone SAMBA server with the following configuration:
workgroup = LAB
server string = SATURN
security = user
load printers = no
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
mangled names = no
… skipping irrelevant shares ...
path = /mnt/TMVOL2
create mask = 0774
directory mask = 0774
read only = no
guest ok = no
kernel oplocks = no
kernel share modes = no
posix locking = no
vfs objects = catia fruit streams_xattr
I picked up this particular share configuration from here: https://github.com/samba-team/samba/pull/64#issuecomment-327303924 (slightly modified for my needs) but it doesn’t work.
All I get in return is this error message from Time Machine: “The selected network backup disk does not support the required capabilities.”
It looks like I need a newer version of SAMBA? If yes, are these features supported by stable version of SAMBA already? If not, when should we expect them?
Lastly, is that a correct way to configure a Time Machine share? Do we need all the kernel options, posix locking and all vfs objects, some of which seem like they have nothing to do with Time Machine (e.g. catia)?
I would appreciate a clear example, if anyone can provide.
More information about the samba