Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2023 19:34:37 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Craig Leres <leres@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD+samba as a time machine server for OSX/Ventura?
Message-ID:  <B9184D20-12C5-49C8-B157-272D807BE86C@FreeBSD.org>
In-Reply-To: <a2d69d35-52d1-e347-0430-eb491ddd69a2@freebsd.org>
References:  <a2d69d35-52d1-e347-0430-eb491ddd69a2@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_2D977F1B-1CA3-48F2-8451-C80E21E17BA9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 1 Mar 2023, at 05:28, Craig Leres <leres@freebsd.org> wrote:
>=20
> 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.
>=20
> I've never managed to get this to work since upgrading to Ventura.

What happened with Ventura? When I upgraded to it, Time Machine backups
to a FreeBSD samba server kept on working just as before.


> Does anybody have a config or wisdom they could share? I've appended =
the config that worked with Big Sur.

First of all, install samba416 instead of samba413. There are lots of
important fixes, also in the Apple SMB compat area.

What I'm using is mostly (irrelevant settings removed):

[global]
	fruit:aapl =3D yes
	fruit:zero_file_id =3D yes
	vfs objects =3D catia fruit streams_xattr zfsacl

# ... other stuff ...

[tm-share]
	comment =3D Time Machine share
	path =3D /foo/bar/baz
	read only =3D No
	write list =3D luser
	fruit:time machine =3D yes

And that's about it. The most important things are the global fruit
options, in particular zero_file_id (see bug 269883 for the gory
details), and of course the vfs objects option. If you don't use ZFS
(but you should) remove zfsacl.

Btw do NOT use sendfile. It never worked properly, even with AppleTalk.

-Dimitry


--Apple-Mail=_2D977F1B-1CA3-48F2-8451-C80E21E17BA9
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCY/+avQAKCRCwXqMKLiCW
oxYyAJ9OjC/jTq3uxJiW/FvPlP/nSTC7/wCdHxuhj6qctwK597/bP2dFXzzyc10=
=h2ms
-----END PGP SIGNATURE-----

--Apple-Mail=_2D977F1B-1CA3-48F2-8451-C80E21E17BA9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9184D20-12C5-49C8-B157-272D807BE86C>