odarriba / docker-timemachine

A docker container that compiles the lastest Netatalk to run a Time Machine server.
https://hub.docker.com/r/odarriba/timemachine/
MIT License
640 stars 105 forks source link

Support Samba (SMB) #41

Open wvteijlingen opened 6 years ago

wvteijlingen commented 6 years ago

It seems that AFP is deprecated, and Time Machine is now supported on Samba 4.8 and higher. See https://github.com/samba-team/samba/pull/64.

It would be nice if this container would support that, perhaps in a separate branch.

sohocoke commented 6 years ago

https://github.com/mumblepins-docker/smb-timemachine/blob/master/Dockerfile is an example of how a version of Samba that supports Time Machine is built.

I've been having trouble building that one for ARM, so it would be great if this feature is incorporated.

odarriba commented 5 years ago

Hello @wvteijlingen @sohocoke , and sorry for the late response. There is a PR available to use Samba (#58) .

I have it in my server and looks fine.

Would you like to try it yourselves and send some feedback?

Thanks

odarriba commented 5 years ago

Also, I couldn't try the build for ARM (I don't longer have a ARM device) but it should work the same, as we are using Alpine image which is available for ARM too.

ferdinand commented 5 years ago

@odarriba I use the Samba version on a Raspberry Pi since a few weeks and it works perfectly fine.

The only thing I'm missing compared to the AFP version are user quotas. https://github.com/willtho89/docker-samba-timemachine uses p-list files for that. But I haven't had the chance to try it out for myself yet.