Time Machine backups to NAS fail

I've got the latest MBP with the M1 chip. I've set up Time Machine to back up to a NAS. It's already completed a back up. However all subsequent backups to the NAS keep failing - "Time Machine couldn't back up to "192.168.0.35". Any ideas on how to resolve this? This happened previously and I basically just disabled/enabled Time Machine however after the first backup, it appears as though Time Machine can't do another back up.


I set up Time Machine as per these instrucions. I created a Shared Folder titled TimeMachine on my NAS with its own account. I connect to it using Finder on my Mac - Go -> Connect to Server -> smb://TimeMachine:*@192.168.0.35 and enter the password for my user. I can see it mounted on my desktop.


I contacted Apple Support and their response was that they can't support backing up to NAS; they only support backing up to physical external hard drives. :/


Running this command in Terminal:

log show --style syslog --predicate 'senderImagePath contains[cd] "TimeMachine"' --info > tmlog.txt


Returns a bunch of errors including:

2022-01-09 02:47:30.622528+0000 localhost backupd[471]: (TimeMachine) [com.apple.TimeMachine:General] Failed to mount 'disk5s1', dissenter {

DAStatus = 49218;

}, status: (null)


2022-01-10 10:08:48.766060+0000 localhost backupd[471]: (TimeMachine) [com.apple.TimeMachine:General] Failed to eject disk4s2 using DiskManagement, error: {

Action = Eject;

Dissenter = 1;

DissenterPID = 0;

DissenterStatus = 49168;

Error = "-69691";

Target = disk4;

}


2022-01-10 10:14:46.618706+0000 localhost backupd[462]: (TimeMachine) [com.apple.TimeMachine:General] Backup failed (21: BACKUP_FAILED_DISK_IMAGE_NOT_MOUNTED)


A search on macrumors suggests this is a common issue. Any suggestions on how to resolve this?

Posted on Jan 10, 2022 3:08 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 10, 2022 7:45 AM

"DSM 7.0 and above: For SMB, go to the SMB tab and tick the Enable SMB service checkbox.4 For AFP, go to the AFP tab and tick the Enable AFP service checkbox." .... "Go to the Advanced tab and tick the Enable Bonjour Time Machine broadcast via SMB or Enable Bonjour Time Machine broadcast via AFP checkbox. Then, click on the Set Time Machine Folders button." .... "Sierra (10.12) and later, Time Machine uses SMB as the default protocol. We recommend you to perform Time Machine backups via SMB."


I used followed the instructions and enabled the SMB options and not the AFP ones. I'm using macOS 12.1.

7 replies
Question marked as Top-ranking reply

Jan 10, 2022 7:45 AM in response to Barney-15E

"DSM 7.0 and above: For SMB, go to the SMB tab and tick the Enable SMB service checkbox.4 For AFP, go to the AFP tab and tick the Enable AFP service checkbox." .... "Go to the Advanced tab and tick the Enable Bonjour Time Machine broadcast via SMB or Enable Bonjour Time Machine broadcast via AFP checkbox. Then, click on the Set Time Machine Folders button." .... "Sierra (10.12) and later, Time Machine uses SMB as the default protocol. We recommend you to perform Time Machine backups via SMB."


I used followed the instructions and enabled the SMB options and not the AFP ones. I'm using macOS 12.1.

Jan 10, 2022 5:58 AM in response to dhokes

A search on macrumors suggests this is a common issue. Any suggestions on how to resolve this?

A NAS has never been a reliable backup solution for Time Machine. It was never supported over AFP, and only recently has Apple listed a NAS as disk you can use with Time Machine (as long as it supports the Time Machine over SMB specification).

You should not use AFP--The AFP implementation on the NAS isn't really AFP and Apple has dropped AFP from its networking. The fact that the instructions suggest using their hacked version of AFP doesn't bode well for its support of the SMB specification.

The NAS must specifically support the Time Machine over SMB specification published by Apple. If your NAS is running Samba ver. 4.8 or later, it should support that, but that may not be true for all NAS. They could be running some modified version.


Backing up to an external disk connected to my Mini has worked flawlessly since Time Machine was available. I have never heard of any success stories using a NAS (except the old, discontinued Time Capsule), but then if they were successful, they wouldn't necessarily post here. The common theme here is if it does backup successfully, when it comes time to restore, it doesn't work.

Jan 10, 2022 9:22 AM in response to dhokes

I understand you are only using SMB. What you don't understand is that is not the same as the "Time Machine over SMB specification." That specification is what the SMB server must provide in order to allow Time Machine to work reliably. It is not merely that you use the SMB networking service. The SMB server on the NAS (likely Samba), must implement the requirements of Apple's "Time Machine over SMB" specification for it to reliably work. If they don't implement that specification, you may still be able to connect over SMB and backup, but it won't be reliable. You are experiencing a reliability problem with that NAS.


You will have no hope of a reliable backup if the SMB server software does not implement the specification. If it does implement that specification, but you are still having problems, you should contact Sinology and ask them why they claim you can use it with Time Machine, but it doesn't work for you.

Jan 10, 2022 6:13 AM in response to dhokes

I didn't say "supports SMB." I said "supports the Time Machine over SMB specification," which is additional features the server must support in order for backups to be error checked. The fact that their instructions still include AFP without any consideration of the OS of the Mac is foreboding.

Like I mentioned, the initial back up was completely fine.

And, that is what happens 99% of the time with a NAS. It's the subsequent backups and restore that fail. The NAS manufacturers have never seemed to be able to handle Time Machine.

Jan 10, 2022 7:38 AM in response to dhokes

Where on that linked page does it specifically note that it supports the "Time Machine over SMB specification?"


It will share on both AFP and SMB. It only "recommends" using SMB, implying it thinks AFP actually works correctly.

If you are using an OS older than Sierra, you are pretty much stuck with their faulty AFP implementation.

The fact that they claim it works and is supported when Apple specifically does not support it is problematic in my mind.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Time Machine backups to NAS fail

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.