[Samba] Mac OS Timemachine over SMB

Ben Metcalfe bwmetcalfe at gmail.com
Tue Oct 11 11:59:47 UTC 2016


I'm interested in this - and happy to add my own experiences in the process
of setting up a Time Machine backup to a ZFS-based AFP network server that
also runs Samba.

Best,

Ben

On 10 October 2016 at 14:15, Luc Lalonde via samba <samba at lists.samba.org>
wrote:

> Hello Kevin,
>
> Mac OS by default looks for TimeMachine volumes over AFP not CIFS-SMB…
> Like you, I experimented with Samba a couple of years ago to try to get it
> to work anyway.
>
> With a few modifications on the client’s part and some configuration on
> the Samba server I got it to work…  but recovery only worked for clients
> that I had configured in advance…  Recovery with the Mac OS tools
> (Migration Assistant, etc) did not work properly without first mounting the
> volume beforehand.
>
> Again, Mac OS was looking for an AFP volume.
>
> If you’re interested, I wrote up a little guide for configuring a
> ‘homemade’ TimeMachine server using Linux and Netatalk.  But it’s in french
> and might be out of date.
>
> Best regards, Luc.
>
>
> > On Oct 9, 2016, at 7:09 PM, Kevin via samba <samba at lists.samba.org>
> wrote:
> >
> > Is it possible to backup Mac OS devices through a Samba share on Samba
> > 4.4.6 on Fedora 24 with Time Machine? I am able to successfully advertise
> > the share through Avahi, connect to it in Finder, and read/write files. I
> > am also able to see the share as a destination in Time Machine, but
> > selecting it shows an error that "The selected network backup disk does
> not
> > support the required capabilities. Please choose another network backup
> > disk."
> >
> > From my understanding of the Apple documentation found here, I think that
> > the current version of Samba satisfies most of the requirements with
> > vfs_fruit but I would appreciate some confirmation:
> > https://developer.apple.com/library/content/releasenotes/
> NetworkingInternetWeb/Time_Machine_SMB_Spec/
> > .
> >
> > - AAPL Create Context extension with F_FULLSYNC (I believe this is
> > supported by vfs_fruit)
> > - SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2
> > - SMB2_CREATE_REQUEST_LEASE_V2
> >
> > Below is a copy of my SMB configuration (I stood up a VM for testing with
> > only one share due to a warning in the vfs_fruit documentation about
> mixing
> > shares with and without vfs_fruit):
> > [global]
> >        workgroup = SAMBA
> >        security = user
> >        log level = 8
> >        log file = /var/log/samba.%m
> >
> >        passdb backend = tdbsam
> >
> >        printing = cups
> >        printcap name = cups
> >        load printers = yes
> >        cups options = raw
> >
> > [time]
> >        ea support = yes
> >        vfs objects = catia fruit streams_xattr
> >        fruit:resource = file
> >        fruit:metadata = netatalk
> >        fruit:locking = netatalk
> >        fruit:encoding = native
> >        fruit:aapl = true
> >        browseable = Yes
> >        read only = No
> >        inherit acls = Yes
> >        path = /srv
> >
> > Thanks,
> > Kevin
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list