What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Time machine support when AFP is removed from macOS?

Panda

New Around Here
In the recent macOS Sequoia 15.5 update, Apple has deprecated AFP: 'Apple Filing Protocol (AFP) client is deprecated and will be removed in a future version of macOS.'

Currently Time Machine support works only over AFP as Time Machine does not see SMB shares. Is there a plan to support Time Machine over SMB and if, hopefully so, when is it scheduled for, i.e. is it likely to arrive before Apple removes AFP entirely which may happen in macOS 16.

I've been using successfully Time Machine on a USB HD attached to a router running Merlin for many versions of macOS and Merlin. Currently using macOS 15.5 connecting to an Asus RT-AX86U running Merlin 3004.388.9_2. With SMB shares connected in the Finder, if I try to add a disk in Time Machine I get the error message: 'No Available Time Machine Destinations / Connect a suitable external drive or network storage device.'

P.S. As a long time lurker in this forum, I'll take this opportunity to thank everyone here for a useful forum and of course also Merlin which has improved this router for all these years.
 
Time Machine does use SMB. My Mac uses a share on my NAS and works very well. If you are using your router for Time Machine you may have to reconfigure your Mac to use a SMB share.
 
TM does require SMB2 or higher to use a share provided by Samba...

Even on the old school TimeCapsule 11ac devices, they support SMB first, then AFP for older clients...

Apple has been deprecating AFP for a long time now - the recent item in the MacOS 15.5 release notes is just stating that the "walkway is nearing it's end, please watch your step"

With SMB shares connected in the Finder, if I try to add a disk in Time Machine I get the error message: 'No Available Time Machine Destinations / Connect a suitable external drive or network storage device.'

@Panda - you don't need to mount the shares first before attaching TM - so unmount them, and try again, it should just work - if the share has user credentials, you should be prompted...

Anyways - TM over the network - the best host there is another Mac, and that Mac can have a USB (or thunderbolt) drive attached.
 
you don't need to mount the shares first before attaching TM - so unmount them, and try again, it should just work - if the share has user credentials, you should be prompted...
Unfortunately Time Machine does not see any SMB share, whether mounted or unmounted.

My Mac uses a share on my NAS and works very well
Your NAS is likely using a different implementation of SMB as that of Asus/Merlin.

I found a very old guide, from 2016, listing requirements Apple has for SMB to work with Time Machine: Time Machine over SMB Specification and a much more recent guide about SMB configuration on Debian to work with Time Machine: Ultimate Guide to Configuring Samba for Time Machine Backups on Debian Servers. I don't know enough about SMB to understand if the Asus/Merlin implementation of SMB is compatible with Apple's requirements and some further configuration is needed or whether there would need to be a rewrite of the SMB implementation.
 
I run OpenMediaVault on a raspberrypi, and do TimeMachine backups to its SMB share.
In OMV's settings menu for SMB shares, there's an explicit checkbox to enable TimeMachine support.

Screenshot 2025-05-15 at 11.16.45.png


I have never known what precisely that does behind the scenes, but clearly TimeMachine is picky about which types of SMB shares it will allow to be chosen as a destination, so Asuswrt-Merlin will require changes if TimeMachine support is going to continue.
 
@Panda, stupid question time. Have you enabled the Time Machine option in the Asus router GUI, and selected a target backup location?

Links to the Asus support documents:

I believe they already have Time Machine enabled and working on their router. Their question is whether it will continue to work in the future, now that macOS are deprecating AFP support (which is the file sharing protocol Asuswrt currently uses to enable Time Machine support).
 
Yes. However it's using AFP. (There are no stupid questions!)
Your question is likely best directed at @RMerlin to see if he has any suggestions or information. Don't know if the Time Machine service is closed source from Asus. If it is, it would be up to Asus to address any problems with the Time Machine service.

From the Asus-Merlin 3004.388 blob:

Maybe have a look at the afp.conf and avahi-daemon.conf files to see if anything can be enabled or changed with respect to SMB.

And as a troubleshooting step, if one hasn't tried it already, try using a different Mac computer and see if the issue persists with that Mac computer.

But at the end of the day, the router makes a poor NAS. Might be time to consider either investing in a dedicated NAS, one that has better Time Machine support, or consider investing in a external hard drive for direct attachment to the Mac computer(s) for direct Time Machine backup.
 
Your question is likely best directed at @RMerlin to see if he has any suggestions or information. Don't know if the Time Machine service is closed source from Asus. If it is, it would be up to Asus to address any problems with the Time Machine service.

From the Asus-Merlin 3004.388 blob:

Maybe have a look at the afp.conf and avahi-daemon.conf files to see if anything can be enabled or changed with respect to SMB.

And as a troubleshooting step, if one hasn't tried it already, try using a different Mac computer and see if the issue persists with that Mac computer.

But at the end of the day, the router makes a poor NAS. Might be time to consider either investing in a dedicated NAS, one that has better Time Machine support, or consider investing in a external hard drive for direct attachment to the Mac computer(s) for direct Time Machine backup.
Something as simple as Synology BeeStation would be a much better, more robust, simpler solution for Time Machine backups.
 
Your question is likely best directed at @RMerlin to see if he has any suggestions or information.
Thanks. If this thread goes nowhere I might DM RMerlin but will not inconvenience him at the moment as although I find this an important issue it is not urgent.

Don't know if the Time Machine service is closed source from Asus. If it is, it would be up to Asus to address any problems with the Time Machine service.
My understanding is that this has nothing to do with the Time Machine service as that seems to be about supporting AFP. The github repo you linked to has three SMB related directories: samba-3.5.8, samba-3.6.x_opwrt and sambaclient. Any needed work is likely to be for files in one or several of these.

And as a troubleshooting step, if one hasn't tried it already, try using a different Mac computer and see if the issue persists with that Mac computer.
Same.

But at the end of the day, the router makes a poor NAS. Might be time to consider either investing in a dedicated NAS, one that has better Time Machine support, or consider investing in a external hard drive for direct attachment to the Mac computer(s) for direct Time Machine backup.
Something as simple as Synology BeeStation would be a much better, more robust, simpler solution for Time Machine backups.
Sure. I can disconnect the HD I have connected to the router, reformat it and move it around to each laptop or buy another Mac or a NAS, this might be better but that's not the point. Time Machine over AFP using the router with Merlin's software has been reliable enough so far for my use case and likely for many others too. There has been a 'good enough' solution so far. A solution using SMB might be even better as SMB is a more recent and likely better protocol than AFP, but at least the continued existence of a good enough solution would be helpful to many including me.

I started this thread for two main reasons: ensuring that others using the same set up are aware it will likely no longer work when macOS 16 is released and as there's already some SMB support in Asus/Merlin it would be great to find out from those (more) knowledgeable about SMB whether the existing firmware might be configured to support whatever set up Time Machine requires for SMB or whether considering the announced planned demise of AFP (in macOS) whether whatever changes might be needed to the SMB code so that it supports Time Machine may be planned for a timely release.
 
TM has been discussed many times on the forums, and we know it works (sort of, actually most of the time)
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top