Skip to content

Instantly share code, notes, and snippets.

@mrpjevans
Last active October 22, 2021 14:30
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Add Time Machine support to a Samba share
# To support macOS Time Machine backups in Samba
# Create a share that has the following properties
# in /etc/samba/smb.conf
# In this example we have a mounted drive called 'huge'
# with a directory called 'Time Machine'
[Time Machine]
comment = Time Machine
path = /mnt/huge/Time Machine
read only = no
writable = yes
browsable = yes
create mask = 0600
directory mask = 0700
spotlight = yes
vfs objects = catia fruit streams_xattr
fruit:aapl = yes
fruit:time machine = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment