From nobody Sun Mar 05 03:05:10 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PTmm812S9z3vsg8 for ; Sun, 5 Mar 2023 03:05:12 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PTmm802zjz3Mxf for ; Sun, 5 Mar 2023 03:05:12 +0000 (UTC) (envelope-from leres@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677985512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cJ4rBxPbZ6RILaRsX8txAX65s0wdAom0Vd21n59wcJA=; b=RLma3s12zOJ50tn0E32n6g4KtT9gMevkua9nJ6QTWmrUiBosfw0/nl+JGI+JUN8Xn0toGV 4DegERxU9D/7+eIjTbKtY7UkfNRLyqrtIjyi8qUeT1WVQ+fKiPFCsbHPFYvTRCgg0NJyqb XX6BlHkJpM6u0Clo7WCHo1QNG2KXi+SHGnvdONBfEkChYvAICgvJTKcfWBh6UJqkAEjvMl QPGWhgG+PoDNiQtdm0gFleF8HTsYB9Io1R1afuPTJtaUMzxDmqMhWkN7CRUBIJI5Jt6x3b mDbRv5fUsBBAuD6x4FvZNKnhYLcSZl8Y42y8OHmroOurJlw8kdgN2fg7uT7QsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677985512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cJ4rBxPbZ6RILaRsX8txAX65s0wdAom0Vd21n59wcJA=; b=hkkYWf8eT9smHCnEBHxqopYz0PiaqHVL7mbS2yN+DwxGf2wNUp1UJVqqUlx99RHw4NBDfg s+XkCSM/iyMDT7VMvitxWkEjXbuNp/aufveHXa84t7UXsWdPW+NW6fo+yBOFzpoerQboXM ldWl39899pP86H0z19vGyk6oQvcmLHtaGu+ZpC/in15TTQr0/mI3ebVAGqRJGcyjbsjiPm kdvE23HUMGRu4lmwCnPt1afqE5hXif07NkodRWeIUfqBSMT2TSkc+sQBuqZS6xJR0ko9jx E0kzV+Aed/abjsV8cU2E4T6vZSVhEDdq9aw2We/ZaZ/uxWTD16TUXRMEjb20+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677985512; a=rsa-sha256; cv=none; b=rJ6Zem/5l3wxHk5SM4fyxhV/Qj6XRFZBWiixrz2UeVV326fYYp2NP9WKtt4rLzg0FBePoa xcezooktvcM9kjMAt4vDIOqoxPOJSCNPkD1GrOhIbnzA8OmNc0aZ0HZRqd5Y10EPh2umPW z6Xs69CGTUiWpMpeTrtfmgmnqSZaNBC/YwmRx9OMXrVORCzq5LFHerZSLxziUk8E23f4Ds UJSe2ZjUw/u1roVBN9edURGEoyF33tsFltPafS3q6UjalMPSa0pTS1Qn7deYCzpaw4dTgR 0dv7BoOsm9+Hi4tTdYJFyu/mbo4BVVkyanwiCaI1GP1SZOmtPHDXu7jz4N+mTQ== Received: from [IPV6:fd:1965::2] (unknown [IPv6:2600:1700:ab1b:6800::49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: leres) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PTmm753mCzRNy for ; Sun, 5 Mar 2023 03:05:11 +0000 (UTC) (envelope-from leres@freebsd.org) Message-ID: <20589e6e-dbb2-7f0b-9f08-3870fdfe18f1@freebsd.org> Date: Sat, 4 Mar 2023 19:05:10 -0800 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 From: Craig Leres Subject: Re: FreeBSD+samba as a time machine server for OSX/Ventura? To: freebsd-hackers@freebsd.org References: <7cda0c71-5fe2-722b-4ff9-0b48807b7627@langille.org> Content-Language: en-US In-Reply-To: <7cda0c71-5fe2-722b-4ff9-0b48807b7627@langille.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N I finally got a chance to work on this today. The many followups are appreciated. samba413 -> samba416 is definitely something I was missing. I think there was only 4.1.3 when I first switched to samba. Not sure why netatalk3 stopped working for me. Nice to see Dan's proof that this is still a viable time machine solution. I think I'll stick with samba as it may one day allow me to backup my windows laptop. I am using zfs on the FreeBSD side. The fruit:zero_file_id situation is interesting but I'm on 13.1-RELEASE so I don't think it applies to me yet. But nice that I won't run into it once I do upgrade to 13.2. I have not previously run any kind of mdns on the FreeBSD system; I tried my hand at a minimal avahi config that I think works. But I think this just makes it possible to browse for the remote server from the time machine settings page. I had previously just been using %K in finder to connect to server. (Maybe this will help me with windows down the road.) I found a different recipe to get at the logs: log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 6h | grep -F 'eMac' | grep -Fv 'etat' | awk -F']' '{print substr($0,1,19), $NF}' Something that popped out right away is that the mac was trying to get into a uuid named directory in 'file:///Volumes/.timemachine/XYZ._smb._tcp.local.' that did not exist. Then I found many "Backup of " directories in /Volumes. This all made me think that the mac was trying to continue using the pre-ventura backup so I nuked the files that were in that directory (and the failed files on the server) and rebooted the mac. After re-adding the remote volume, I have a time machine backup in progress for the first time since 2021. Thanks to all; freebsd-hackers (as usual) for the win! Craig