Re: FreeBSD+samba as a time machine server for OSX/Ventura?

From: <freebsd_at_vanderzwan.org>
Date: Wed, 01 Mar 2023 16:55:30 UTC

> On 1 Mar 2023, at 05:28, Craig Leres <leres@freebsd.org> wrote:
> 
> In 2020 I was able to install the netatalk3 port and use a FreeBSD system as a time machine server. In 2021 when I upgraded to Big Sur appletalk was no longer supported so I switched to samba413.
> 
> I've never managed to get this to work since upgrading to Ventura. Does anybody have a config or wisdom they could share? I've appended the config that worked with Big Sur.
> 

Hi, 
I am using FreeBSD + samba for timemachine for both my iMac and my macbook:

I have the following fruit entries in my global section:

	vfs objects = catia fruit streams_xattr zfsacl
	fruit:metadata = stream
	fruit:model = Tower
	fruit:aapl = yes
       fruit:resource = xattr
       fruit:encoding = native
	fruit:posix_rename = yes
	fruit:veto_appledouble = no
	fruit:wipe_intentionally_left_blank_rfork = yes
	fruit:delete_empty_adfiles = yes

And this is one of the share definitions:
[tmgaspode]
       read only = no
       fruit:time machine = yes
       fruit:volume_uuid = d94e5b6a-f0ed-4a10-91d8-b13cff558d19
       nfs4:chown = true
       nfs4:acedup = merge
       mangled names = illegal
       path = /mnt/backuppool/TimeMachine/gaspode

Regards,
	Paul


> Craig
> 
> ; @(#) $Id: smb4.conf,v 1.3 2021/07/13 22:43:22 leres Exp $
> 
> [global]
>   workgroup = XYZ
>   security = user
>   netbios name = red
>   server string = red.example.net
>   hostname lookups = no
> 
>   interfaces = igb0 10.0.0.2/24
>   socket address = 10.0.0.2
>   bind interfaces only = no
> 
>   load printers = no
>   show add printer wizard = no
>   time server = yes
>   use mmap = yes
> 
>   dos charset = 850
>   unix charset = UTF-8
>   mangled names = no
> 
>   log level = 3
>   vfs objects = zfsacl catia fruit streams_xattr
> 
>   fruit:model = MacSamba
>   fruit:resource = file
>   fruit:metadata = netatalk
>   fruit:nfs_aces = no
>   fruit:aapl = yes
> 
>   inherit permissions = yes
> 
>   hosts allow = 10.0.0.19
> 
> [Time Machine]
>   path = /backups/mini
>   read only = no
>   guest ok = no
>   writeable = yes
>   use sendfile = yes
>   browseable = yes
>   hosts allow = 10.0.0.19
>   fruit:time machine = yes
>   valid users = backup-mini
>