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 Dec 17, 2024 3:20 PM

Had the exact same issue. No need to go in Terminal to resolve this issue. In System Settings, go to Privacy & Security and next in Full Disk Access. Add Time Machine and give it full access. Just did my first backup with no issue and no error message. Spent 1 hour on the phone with Apple and they didn't know this... Hope this helps!

51 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Dec 17, 2024 3:20 PM in response to lisaroser

Had the exact same issue. No need to go in Terminal to resolve this issue. In System Settings, go to Privacy & Security and next in Full Disk Access. Add Time Machine and give it full access. Just did my first backup with no issue and no error message. Spent 1 hour on the phone with Apple and they didn't know this... Hope this helps!

Reply

Oct 27, 2024 7:20 AM in response to lisaroser

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]



Reply

Oct 27, 2024 7:38 AM in response to lisaroser

While removing the widget will get rid of the TM error, it is suboptimal. The better solution is to add the offending directory to TM's exclusion list like so:


tmutil addexclusion ~/Library/Containers/com.apple.findmy.FindMyWidgetItems/Data/SystemData/com.apple.chrono/timelines/com.apple.findmy.FindMyWidgetItems
Reply

Nov 14, 2024 11:50 PM in response to Zorkzeres

At the end of the article about Biome, Howard Oakley writes


deleting the contents of the Biome folder shouldn’t result in any data loss.


Try deleting the Biome folder like so:


rm -rf ~/Library/Biome/


and then manually start a TM backup and report the result.

Reply

Mar 24, 2025 3:43 PM in response to jwhitt

jwhitt wrote:

I ran that and Apple will not allow me to post the result. Now what do I do? The result is long.
How do I "exclude that directory or file from the backup"

I found from Terminal that I was getting an error because of my Google Drive. It said, "Data/Users/xxx/Library/CloudStorage/GoogleDrive-xxx" (xxx = my name). So I excluded it using the Time Machine settings.


To do that you go into Time Machine settings and click on Options and then click the + to add what you want to exclude. Then you navigate to the item. In my case, I excluded the Google drive. Also my Dropbox drive and iCloud since all three of them are backed up on the cloud anyway. You have to exclude each item one at a time. I still have to test to see if that solves it. Will report back.

Reply

Mar 31, 2025 4:36 AM in response to lisaroser

I have an M4 Mac Mini and I boot from an external NVME SSD. As "mcpeteSF" previously mentioned, the only thing that worked for me was actually unmounting the internal hard drive from the Mac Mini. Once unmounted, I was able to back up my hard drive with Time Machine without any problems.

I unmounted it using Disk Utility.

I hope this works for you!


Macos Sequoia 15.3.2

Reply

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

Reply

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!

Reply

Nov 14, 2024 10:25 PM in response to Zorkzeres

The error code (100002) indicates that the file cannot be found. This could be due to an error when copying and pasting the string, or it may be because the directory containing the file does not exist on your Mac, probably because you have never used the FindMyWidget application.

Reply

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

That is very possible - I don't even know what FindMyWidget does.


So this did not solve my


"Time Machine couldn’t complete the backup to “Data-2-8TB”

Time Machine did not finish backing up because some files were unavailable. Backups will resume when your Mac is unlocked." problem ...


Sigh!


Reply

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$ 

Reply

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.