Skip to content

Instantly share code, notes, and snippets.

@mrpjevans
Last active October 22, 2021 14:30
Show Gist options
  • Save mrpjevans/42c48529c1d98ea6637f14095435c65e to your computer and use it in GitHub Desktop.
Save mrpjevans/42c48529c1d98ea6637f14095435c65e to your computer and use it in GitHub Desktop.
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