I've been struggling with this TM error for awhile now ... and I think I might have found the cause & easy solution.
Since it seems that the problem was associated with the Mac being locked, I tried going to the MacOS System Settings to extend the time-until-lock on the Lock Screen. What I found that the
"Require password after screen saver begins..." was set to "
Immediate" - - plus it was greyed out, indicating that I couldn't change it.
Tracking the reason for why it was disabled, I found that this setting was disabled by the introduction (in macOS Sequoia 15 & iOS 18) of the MacOS
"iPhone Mirroring" App, and its settings.
TL;DR - a solution to try ... it has been working for me for 5+ days so far:
- On your Mac, open System Settings; goto "Lock Screen", see if "Require password after screen saver begins..." is greyed out as described above. If so, then continue.
- On your Mac, launch the iPhone Mirroring App.
- Open "Settings" from its menu. For reference, see the included pic of this dialog box.
- Change from "Automatically Authenticate" to "Ask every time".
- Close the dialog box & Quit the iPhone Mirroring App.
- Go back to System Settings & check the Lock Screen settings - the "Require password after screen saver begins..." should no longer be greyed out. Try setting it to something other than "Immediate" for now.
- Done (maybe do a reboot now to be sure)
FYI, I don't know if changing the
"Require password after screen saver begins..." is necessary, but I did it, so I'm including it as a conservative step: my thought was that if the Mac doesn't lock for a long time, that would give TM ample time to run unlocked. I chose 8 hours and the Time Machine errors have gone away.
I'm now reducing the time setting for screen saver password.
I'm now down to just 1 hour, and my TM backups are still running fine overnight with zero errors. Today, I've reduced it to just 15 minutes. If that works too, I'll try going all the way back to "Immediate".
Overall, I think that the iPhone Mirroring App's automatic authentication is the root cause of this TM error.