Skip to content

Instantly share code, notes, and snippets.

@durd
Last active February 20, 2022 20:37
Show Gist options
  • Save durd/eb367d91fff25c967ba3491926fd0e3a to your computer and use it in GitHub Desktop.
Save durd/eb367d91fff25c967ba3491926fd0e3a to your computer and use it in GitHub Desktop.
time machine smb/samba config
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>GlobalQuota</key>
<integer>350000000000</integer>
</dict>
</plist>
[global]
dns proxy = No
load printers = No
local master = No
log file = /var/log/samba/log.%m
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
security = USER
server min protocol = SMB2
server role = standalone server
unix password sync = Yes
fruit:delete_empty_adfiles = yes
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:resource = xattr
fruit:zero_file_id = yes
fruit:posix_rename = yes
fruit:veto_appledouble = no
fruit:metadata = stream
idmap config * : backend = tdb
hosts allow = 2001:470:28:1d7::/64 192.168.1.0/24 127.0.0.1
invalid users = root
vfs objects = catia fruit streams_xattr
[TimeMachine]
case sensitive = Yes
create mask = 0750
directory mask = 01750
path = /backups/mac
read only = No
valid users = toe
fruit:time machine = yes
@durd
Copy link
Author

durd commented Feb 20, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment