Project

General

Profile

Feature #23359

Time Machine over SMB

Added by Andrew Miskell 6 months ago. Updated 3 days ago.

Status:
Screened
Priority:
Important
Assignee:
Category:
Services
Target version:
Start date:
04/13/2017
Due date:
% Done:

0%

Hardware Configuration:
Blanket Approval:
No
Needs QA:
Yes
QA Status:
Not Tested

Description

Apple has deprecated AFP and have given specifications for supporting Time Machine over SMB shares.

https://developer.apple.com/library/content/releasenotes/NetworkingInternetWeb/Time_Machine_SMB_Spec/#//apple_ref/doc/uid/TP40017496-CH1-SW1

Most of the pieces were in FreeNAS Corral expect for the a patch to support F_FULLSYNC into Samba (https://bugzilla.samba.org/show_bug.cgi?id=12380)

Now that Corral is dead, this should be picked up by FreeNAS 9.10.x

History

#1 Updated by Kris Moore 6 months ago

  • Tracker changed from Bug to Feature
  • Assignee set to John Hixson
  • Priority changed from No priority to Important
  • Target version set to 9.10.4

#2 Updated by John Hixson 6 months ago

  • Status changed from Unscreened to Screened

I'd like this too. Coming soon.

#3 Updated by Kris Moore 6 months ago

  • Target version changed from 9.10.4 to 11.1

#4 Updated by Frank Riley about 1 month ago

Note that for users who are running on an SSD and upgrade to High Sierra, Time Machine over SMB is required. SSD users cannot opt out of the APFS upgrade, which then makes Time Machine over AFP impossible. Source: https://support.apple.com/en-us/HT208018

#5 Updated by Andrew Miskell about 1 month ago

Frank Riley wrote:

Note that for users who are running on an SSD and upgrade to High Sierra, Time Machine over SMB is required. SSD users cannot opt out of the APFS upgrade, which then makes Time Machine over AFP impossible. Source: https://support.apple.com/en-us/HT208018

I think the problem right now is that, unfortunately, the samba team has still yet to merge support into the main samba branches (there's still an open pull/merge request for this). I've posted to the discussion on these patches on the samba GitHub page and awaiting response. Hopefully stating that this is going to become a hard requirement under High Sierra may help move things along.

But yes, there's going to be a very high demand for Time Machine over SMB support in the very near future with the release of High Sierra and forced migration to APFS for SSD drive users (I'm facing that very issue now).

#6 Updated by Andrew Miskell about 1 month ago

It appears Samba is indeed getting closer to having this feature included in the next Samba release.

https://github.com/samba-team/samba/pull/64

#7 Updated by originalprime - 21 days ago

@Frank Riley,

I read the same Apple Support document that you have linked there, and I thought the same thing as you have reported: that Time Machine won't work at all if one upgrades to High Sierra / APFS. However, I have updated four different Macs - all using SSDs - and they all continue to work as of the time I write this note. I suspect that we will not have long however, as Apple is likely just giving NAS makers time to update their stuff; I still would like to see SMB support since that is clearly what Apple is requiring going forward. Who knows how long before Apple cuts off AFP completely?

#8 Updated by John Hixson 18 days ago

originalprime - wrote:

@Frank Riley,

I read the same Apple Support document that you have linked there, and I thought the same thing as you have reported: that Time Machine won't work at all if one upgrades to High Sierra / APFS. However, I have updated four different Macs - all using SSDs - and they all continue to work as of the time I write this note. I suspect that we will not have long however, as Apple is likely just giving NAS makers time to update their stuff; I still would like to see SMB support since that is clearly what Apple is requiring going forward. Who knows how long before Apple cuts off AFP completely?

This PR has been around a while and discussed much: https://github.com/samba-team/samba/pull/64

If anyone in this ticket (or anyone following this ticket) would be willing to test this, I'd be happy to merge it into the nightlies. Let me know.

#9 Updated by John Hixson 18 days ago

I've cherry picked the commits into the nightlies, feel free to test. I'll try and test as well. The code has modified avahi quite a bit so I'm not clear this will work 100% since we use mDNSResponder. I'll have to take a closer look.

#10 Updated by John Hiesey 14 days ago

I have been watching this issue and set up FreeNAS in a VM to test. On the 11.0 release train I can connect via smb, but once I switched to the nightlies train (most recently version FreeNAS-11-MASTER-201710080522) I can't connect via smb from my mac at all. The error message says "There was a problem connecting to the server <ip address>." "The share does not exist on the server. Please check the share name, and then try again."

I can connect just fine from Windows 10.

#11 Updated by Kris Moore 3 days ago

  • Target version changed from 11.1 to 11.2

Also available in: Atom PDF