Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
For what it is worth, I had the error again just now, and looking at the log posts above determined it was the milod directory. (I previously excluded the widget listed in previous posts.) I used theses instructions to exclude it, as just doing it via the gui time machine did not work (Hidden file?)


I remember that I also made that exclusion from the terminal. I went back just now to double check and noticed that the directory was not hidden. I also went to a second Mac and noticed it wasn't hidden there as well. I'm not sure what changed. In any case, usually just typing "cmd-shift-." exposes hidden things when using the selection dialog and the Finder in general. (It's just a toggle to show or hide hidden files or directories.) But, I suspect I used the terminal because that toggle failed to show the directory.
 
Since updating to Sequoia my Time Machine backups have been failing during night. Every time I wake up the display, I get the same error: "Time Machine did not finish backing up because some files were unavailable. Backups will resume when your Mac is unlocked." My Mac actually never sleeps; I only put the display to sleep. The next backup after waking the display always works.
Anyone is having the same problem?
I think I found the solution to this problem. I went to System Settings -> Privacy & Security -> Full Disk Access and added TimeMachine.app. That seems to have solved it for me.
 
My last error was June 8th. July 21 and still not error. I think thats the longest so far. No change with iMac and how I use it. Watch me get it tomorrow because I just jinx myself! LOL
 
  • Like
Reactions: osplo
My last error was June 8th. July 21 and still not error. I think thats the longest so far. No change with iMac and how I use it. Watch me get it tomorrow because I just jinx myself! LOL
Yeah, I went a couple of months with no errors and now they've started cropping up again. I am...less than pleased.
 
I think I found the solution to this problem. I went to System Settings -> Privacy & Security -> Full Disk Access and added TimeMachine.app. That seems to have solved it for me.
This appeared to have fixed my issue at first, but it did not. When I find the solution, I will post it here.
 
  • Like
Reactions: osplo
Found this solution from user Fancy_Expression9255 on Reddit, which I believe is the correct solution. This user describes how to find offending local snapshots and delete them. However, in my case, instead of just deleting the bad snapshots, I decided to delete them all, as well as the backup folder on the NAS. That way I can start fresh with a brand new backup.



You are all on the right track in using Terminal with this command to identify errors.

log show --info --style compact --predicate '(subsystem == "com.apple.TimeMachine") && (eventMessage like[cd] "Failed * acquire device lock assertion*")' --last 24h

But the problem is NOT the files you find listed there, e.g., "com.apple.findmy.FindMyWidgetPeople," or in my case, "com.apple.Maps/Data/Maps/ReviewedPlaceCache-wal."

The problem is the Time Machine local snapshot. (See here for Apple's description of that feature: https://support.apple.com/en-gb/guide/mac-help/mh35933/mac). And the solution is to delete the offending snapshot. Use this command in the Terminal (be sure to include the `/` in the command, that's a shortcut for the volume):

tmutil listlocalsnapshots /

You will get a list that looks like this:
com.apple.TimeMachine.2025-01-18-111742.local
com.apple.TimeMachine.2025-01-18-140944.local
com.apple.TimeMachine.2025-01-18-171400.local

and you will find a match in your error log. Simply delete the offending snapshots with the following command for the appropriate date stamp (you don't need to include the ".local"), for example:

sudo tmutil deletelocalsnapshots 2025-01-18-111742

You may need to delete several or likely even all of the snapshots. Your Mac will then make new ones.
 
  • Like
Reactions: osplo
Found this solution from user Fancy_Expression9255 on Reddit, which I believe is the correct solution. This user describes how to find offending local snapshots and delete them. However, in my case, instead of just deleting the bad snapshots, I decided to delete them all, as well as the backup folder on the NAS. That way I can start fresh with a brand new backup.



You are all on the right track in using Terminal with this command to identify errors.

log show --info --style compact --predicate '(subsystem == "com.apple.TimeMachine") && (eventMessage like[cd] "Failed * acquire device lock assertion*")' --last 24h

But the problem is NOT the files you find listed there, e.g., "com.apple.findmy.FindMyWidgetPeople," or in my case, "com.apple.Maps/Data/Maps/ReviewedPlaceCache-wal."

The problem is the Time Machine local snapshot. (See here for Apple's description of that feature: https://support.apple.com/en-gb/guide/mac-help/mh35933/mac). And the solution is to delete the offending snapshot. Use this command in the Terminal (be sure to include the `/` in the command, that's a shortcut for the volume):

tmutil listlocalsnapshots /

You will get a list that looks like this:
com.apple.TimeMachine.2025-01-18-111742.local
com.apple.TimeMachine.2025-01-18-140944.local
com.apple.TimeMachine.2025-01-18-171400.local

and you will find a match in your error log. Simply delete the offending snapshots with the following command for the appropriate date stamp (you don't need to include the ".local"), for example:

sudo tmutil deletelocalsnapshots 2025-01-18-111742

You may need to delete several or likely even all of the snapshots. Your Mac will then make new ones.

In my case, the local snapshots which are problematic are the ones made precisely for the failing backup and created at the start of it. Here's a line in my log:

Code:
2025-03-22 02:07:45.536093-0700 0x205eb3   Error       0x0                  532    0    backupd: (TimeMachine) [com.apple.TimeMachine:FileProtection] 
Failed to acquire device lock assertion for
 '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/m3/2025-03-22-020714/Data/Users/xxx/Library/Daemon Containers/B22728C8-0EFB-4085-B242-7BACDABBC1B2/Data/com.apple.milod/milo.db-wal' 
(assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"

You can see the snapshot was created about 30 seconds before the timestamp of the log entry indicating the problem.

Though, perhaps there is some side effect of just deleting snapshots in general that causes some temporary repair to happen.
 
Found this solution from user Fancy_Expression9255 on Reddit, which I believe is the correct solution. This user describes how to find offending local snapshots and delete them. However, in my case, instead of just deleting the bad snapshots, I decided to delete them all, as well as the backup folder on the NAS. That way I can start fresh with a brand new backup.



You are all on the right track in using Terminal with this command to identify errors.

log show --info --style compact --predicate '(subsystem == "com.apple.TimeMachine") && (eventMessage like[cd] "Failed * acquire device lock assertion*")' --last 24h

But the problem is NOT the files you find listed there, e.g., "com.apple.findmy.FindMyWidgetPeople," or in my case, "com.apple.Maps/Data/Maps/ReviewedPlaceCache-wal."

The problem is the Time Machine local snapshot. (See here for Apple's description of that feature: https://support.apple.com/en-gb/guide/mac-help/mh35933/mac). And the solution is to delete the offending snapshot. Use this command in the Terminal (be sure to include the `/` in the command, that's a shortcut for the volume):

tmutil listlocalsnapshots /

You will get a list that looks like this:
com.apple.TimeMachine.2025-01-18-111742.local
com.apple.TimeMachine.2025-01-18-140944.local
com.apple.TimeMachine.2025-01-18-171400.local

and you will find a match in your error log. Simply delete the offending snapshots with the following command for the appropriate date stamp (you don't need to include the ".local"), for example:

sudo tmutil deletelocalsnapshots 2025-01-18-111742

You may need to delete several or likely even all of the snapshots. Your Mac will then make new ones.
This is so frustrating. Deleting local snapshots using these instructions worked for a few days, and then it eventually failed. I wonder if I need to do a combination of deleting snapshots and giving certain processes/apps full access. I will do more experiments over the next couple of days and report what I find.
 
This is so frustrating. Deleting local snapshots using these instructions worked for a few days, and then it eventually failed. I wonder if I need to do a combination of deleting snapshots and giving certain processes/apps full access. I will do more experiments over the next couple of days and report what I find.

It's a strange thing that deleting past snapshots would allow later snapshots to not have the problem for some time.

Remember that Time Machine is always just backing up a snapshot (assuming the APFS filesystem is being used on the main disk). That snapshot is made right at the beginning of the backup, allowing you to continue to use your main disk without interfering with it being backed up. The error, for me, is always not being able to access some files on that very snapshot. It's weird that deleting such a snapshot after the fact has some effect on later snapshots.
 
Just updated to 15.6. So July 31. iMac M3 and MBA 15” M2. Let’s see how long before that error pops up.
 
  • Like
Reactions: osplo
I have finally found the correct solution to this issue. It requires adding a Time Machine exclusion to the com.apple.xxx in your error messages. Here are the instructions:

1. The Terminal app will need full disk access in order to do the "tmutil addexclusion -p" command, so add the following entry to System Settings -> Privacy & Security -> Full Disk Access:

/Applications/Utilities/Terminal.app

2. Use this command to get the error messages from Time Machine:

log show --info --style compact --predicate '(subsystem == "com.apple.TimeMachine") && (eventMessage like[cd] "Failed * acquire device lock assertion*")' --last 24h

Here is the an example of the errors I had:

2025-07-29 00:06:02.716 E backupd[302:1e0295] [com.apple.TimeMachine:FileProtection] Failed to acquire device lock assertion for '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/Mac mini/2025-07-29-000400/Data/Users/admin/Library/Daemon Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod/milo.db-wal' (assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2025-07-29 00:06:02.717 E backupd[302:1e0295] [com.apple.TimeMachine:FileProtection] Failed to acquire device lock assertion for '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/Mac mini/2025-07-29-000400/Data/Users/admin/Library/Daemon Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod/milo.db-shm' (assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
Notice that the com.apple.xxx directory in my case is com.apple.milod, and it is located at /Users/admin/Library/Daemon Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod
3. Using the path to com.apple.xxx in the error message, add a Time Machine exclusion for this path to the com.apple.xxx directory:

In my case, the command would be as follows (don't forget the \ before the space in Daemon Containers):

sudo tmutil addexclusion -p /Users/admin/Library/Daemon\ Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod

You should see that the exclusion was added successfully by going to System Settings -> General -> Time Machine and clicking on the Options button.
 
  • Love
Reactions: osplo
I have finally found the correct solution to this issue. It requires adding a Time Machine exclusion to the com.apple.xxx in your error messages. Here are the instructions:

1. The Terminal app will need full disk access in order to do the "tmutil addexclusion -p" command, so add the following entry to System Settings -> Privacy & Security -> Full Disk Access:

/Applications/Utilities/Terminal.app

2. Use this command to get the error messages from Time Machine:

log show --info --style compact --predicate '(subsystem == "com.apple.TimeMachine") && (eventMessage like[cd] "Failed * acquire device lock assertion*")' --last 24h

Here is the an example of the errors I had:

2025-07-29 00:06:02.716 E backupd[302:1e0295] [com.apple.TimeMachine:FileProtection] Failed to acquire device lock assertion for '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/Mac mini/2025-07-29-000400/Data/Users/admin/Library/Daemon Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod/milo.db-wal' (assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2025-07-29 00:06:02.717 E backupd[302:1e0295] [com.apple.TimeMachine:FileProtection] Failed to acquire device lock assertion for '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/Mac mini/2025-07-29-000400/Data/Users/admin/Library/Daemon Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod/milo.db-shm' (assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
Notice that the com.apple.xxx directory in my case is com.apple.milod, and it is located at /Users/admin/Library/Daemon Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod
3. Using the path to com.apple.xxx in the error message, add a Time Machine exclusion for this path to the com.apple.xxx directory:

In my case, the command would be as follows (don't forget the \ before the space in Daemon Containers):

sudo tmutil addexclusion -p /Users/admin/Library/Daemon\ Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod

You should see that the exclusion was added successfully by going to System Settings -> General -> Time Machine and clicking on the Options button.
Let us know if this fails also.
 
  • Haha
Reactions: gank41 and osplo
I have finally found the correct solution to this issue. It requires adding a Time Machine exclusion to the com.apple.xxx in your error messages. Here are the instructions:

1. The Terminal app will need full disk access in order to do the "tmutil addexclusion -p" command, so add the following entry to System Settings -> Privacy & Security -> Full Disk Access:

/Applications/Utilities/Terminal.app

2. Use this command to get the error messages from Time Machine:

log show --info --style compact --predicate '(subsystem == "com.apple.TimeMachine") && (eventMessage like[cd] "Failed * acquire device lock assertion*")' --last 24h

Here is the an example of the errors I had:

2025-07-29 00:06:02.716 E backupd[302:1e0295] [com.apple.TimeMachine:FileProtection] Failed to acquire device lock assertion for '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/Mac mini/2025-07-29-000400/Data/Users/admin/Library/Daemon Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod/milo.db-wal' (assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2025-07-29 00:06:02.717 E backupd[302:1e0295] [com.apple.TimeMachine:FileProtection] Failed to acquire device lock assertion for '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/Mac mini/2025-07-29-000400/Data/Users/admin/Library/Daemon Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod/milo.db-shm' (assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
Notice that the com.apple.xxx directory in my case is com.apple.milod, and it is located at /Users/admin/Library/Daemon Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod
3. Using the path to com.apple.xxx in the error message, add a Time Machine exclusion for this path to the com.apple.xxx directory:

In my case, the command would be as follows (don't forget the \ before the space in Daemon Containers):

sudo tmutil addexclusion -p /Users/admin/Library/Daemon\ Containers/98A60FC5-070E-445D-AA12-296B81A11662/Data/com.apple.milod

You should see that the exclusion was added successfully by going to System Settings -> General -> Time Machine and clicking on the Options button.
The addition of the Time Machine exclusion and how to find the files to exclude has been mentioned repeatedly on this thread. It always prevents the error. It is not really a solution, just a workaround. You’re not going to get an error trying to back up a file if you stop trying to back it up.
 
The addition of the Time Machine exclusion and how to find the files to exclude has been mentioned repeatedly on this thread. It always prevents the error. It is not really a solution, just a workaround. You’re not going to get an error trying to back up a file if you stop trying to back it up.
I just thought it would be easier for people to find all the instructions in one place rather than finding pieces of the instructions in different places in the forum. I realize that it omits files from the backup, but I have tried all the suggestions in this forum and other forums and nothing else has worked. This is the only way I can get the backups to complete at night when the computer is locked.
 
  • Like
Reactions: osplo
August 10 and the error came up. My wife's MBA M2 hasn't errored yet.

"Just updated to 15.6. So July 31. iMac M3 and MBA 15” M2. Let’s see how long before that error pops up."
 
Ha my wife's M2 MBA 15" just popped up the Time Machine error... well at least we know Apple Software Engineering team are defiantly not giving a rats ass on fixing this.
 
Hey all, I recently moved the OS to an external SSD. I was having the same issues with the TM. (will resume after the Mac is unlocked). What I just did was to unlock each individual folder in the info window. I left them on the desktop, started the backup, it went thru no issues. I will now close the info widows and try to do another back ups to check again. OK the second back up went thru without issue. I know it should not be necessary to unlock all the folders, but it worked. I will update later. Good Luck.
 
Hey all, I recently moved the OS to an external SSD. I was having the same issues with the TM. (will resume after the Mac is unlocked). What I just did was to unlock each individual folder in the info window. I left them on the desktop, started the backup, it went thru no issues. I will now close the info widows and try to do another back ups to check again. OK the second back up went thru without issue. I know it should not be necessary to unlock all the folders, but it worked. I will update later. Good Luck.

Do you mean you reviewed the logs to determine what files had the problem and unlocked the folders containing those files? I reviewed the directories that caused me problems and they are already unlocked.
 
Updated to 15.6.1. Yesterday August 22. Let's see if it's fixed or how long it takes for the error to come up.
 
Well I don't know how much difference it will make here. I put Tahoe on and external drive and a TM on an external drive. Works fine for 3 backups. I didn't do anything other than start Tahoe as usual, signed in to all accounts. Strange message tho, when I went to set up the TM in Tahoe, it said this drive is not recommended (it wanted a 4.99TB drive) I ignored it and all went well as It was a 4TB SSD. I will continue to jump back and forth to keep checking.
 
This issue might be fixed in Sequoia 15.6. Since I upgraded, It has been working for several days for me without any workaround.
 
  • Like
Reactions: osplo
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.