Last active
May 13, 2020 16:44
-
-
Save takumaw/990919f00e619087fca13f981ae6fc68 to your computer and use it in GitHub Desktop.
TimeMachine using Samba and Avahi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" standalone='no'?><!--*-nxml-*--> | |
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
<service-group> | |
<name replace-wildcards="yes">%h</name> | |
<service> | |
<type>_device-info._tcp</type> | |
<port>0</port> | |
<txt-record>model=Xserve</txt-record> | |
</service> | |
</service-group> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
# : | |
# omitted | |
# : | |
############ Custom Config ############ | |
client min protocol = SMB3 | |
client max protocol = SMB3 | |
mangled names = no | |
ea support = yes | |
vfs objects = catia fruit streams_xattr | |
fruit:resource = xattr | |
fruit:metadata = stream | |
# : | |
# omitted | |
# : | |
[TimeMachine] | |
comment = TimeMachine | |
path = /PATH_TO_YOUR_TIME_MACHINE_VOLUME | |
writable = Yes | |
browsable = Yes | |
guest ok = No | |
fruit:time machine = yes | |
fruit:time machine max size = 1T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" standalone='no'?><!--*-nxml-*--> | |
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
<service-group> | |
<name replace-wildcards="yes">%h</name> | |
<service> | |
<type>_smb._tcp</type> | |
<port>445</port> | |
</service> | |
</service-group> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment