You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Something is locked and blocking my time machine backup

Hello,


I found an answer to this question from 2023 but it is now closed. And, I have a follow-up question regarding the resolution the problem. First, here is what's happening:


Only in the last couple of days has this error been showing up and I have had my computer set to require a password to wake it up, well for forever, really. And, I recently updated every Apple device I have to its new OS.


I, too, am having issues with Time Machine unable to finishing backups overnight while computer is locked from not being in use after one hour. I only see the error in morning when I first wake it up. note that the backups do complete while I am actively using the computer and it's awake.



The solution given in the previous post from 2023 titled 'Locked files block my time machine backup' was as follows:

"It says some files were unavailable. That could happen for many different reasons, but that message did not specify why.


It says the backup will resume when your Mac is unlocked.


To me, this implies your Mac automatically Locked itself, and refused to transfer any more files.


That could happen if your Mac went to sleep or you have screen locking and password required in:


system preferences > Security & Privacy > General ...

[√] require password after sleep or nnn minutes after screensaver begins.


There may be other more obscure reasons as well."


I have followed the directions to remove a required password to wake the computer, but I really would prefer not to do that. I have also looked what has Full Disk Access and Files and Folders access in Privacy & Security, but I am not sure what I need to grant the access to, as you can't specify Time Machine.


What are the other possibilities for this happening and how can I resolve them?


I greatly appreciate your help and have a great day!


Lisa Atlanta


Mac mini

Posted on Sep 30, 2024 6:48 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 27, 2024 7:20 AM

Paste the following command into Terminal.app and hit Enter:


log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 4h|grep "Operation not permitted"


Add the path to the TM exclusion list and the problem should be solved.



[Edited by Moderator]



27 replies

Nov 14, 2024 10:14 PM in response to Focker

Please clarify the steps to take, if you can.


I open terminal and pasted the string, and this is what I cam up with:


Last login: Wed Nov 13 19:00:29 on console


The default interactive shell is now zsh.


To update your account to use zsh, please run `chsh -s /bin/zsh`.


For more details, please visit https://support.apple.com/kb/HT208050.


Peters-MBP-M2-Max:~ peter$ tmutil addexclusion ~/Library/Containers/com.apple.findmy.FindMyWidgetItems/Data/SystemData/com.apple.chrono/timelines/com.apple.findmy.FindMyWidgetItems


/Users/peter/Library/Containers/com.apple.findmy.FindMyWidgetItems/Data/SystemData/com.apple.chrono/timelines/com.apple.findmy.FindMyWidgetItems: Error (100002) while attempting to change exclusion setting.


Peters-MBP-M2-Max:~ peter$ 


Thanks in advance.


Peter

Oct 22, 2024 4:33 PM in response to lisaroser

Hello,


Thank you for that but note that this is my normal setting and the update to Sequoia did not change that.


Prevent automatic sleeping when the display is off option is ON

Put hard disks to sleep when possible option is OFF

Wake of network access option is ON (I keep this on always because I do remotely access my computer)


The error is still happening.


Thank you!

Nov 14, 2024 11:06 PM in response to Focker

Hello again and thank you for you very quick answers. I tried the other string, and this is what it says:


Peters-MBP-M2-Max:~ peter$ log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 4h|grep "Operation not permitted"


2024-11-15 06:25:27.416560+0100 0x39fc91   Error       0x0                  289    0    backupd: (TimeMachine) [com.apple.TimeMachine:FileProtection] Failed to acquire device lock assertion for '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/Peters MBP-M2-Max/2024-11-15-055749/Macintosh HD - Data/Users/peter/Library/Biome/streams/restricted/ProactiveHarvesting.Mail/local/752462791393167' (assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"


Peters-MBP-M2-Max:~ peter$ 

Nov 14, 2024 11:16 PM in response to Focker

Thank you, but I have no idea how to do that. In Time Machine I can only exclude attacted external disks.


If i try with terminal it says:


Peters-MBP-M2-Max:~ peter$ tmutil addexclusion ~/Library/Biome/streams/restricted/ProactiveHarvesting.Mail/local/752462791393167


/Users/peter/Library/Biome/streams/restricted/ProactiveHarvesting.Mail/local/752462791393167: Error (100001) while attempting to change exclusion setting.


Peters-MBP-M2-Max:~ peter$ 

Something is locked and blocking my time machine backup

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