You didn't add -p option, so these exclusions will not show up in the GUI, try these:yes that’s my question. How i remove that command ?
tmutil addexclusion ~/Library/Containers/com.apple.findmy*
sudo tmutil removeexclusion ~/Library/Containers/com.apple.findmy.FindMyWidgetItems
sudo tmutil removeexclusion ~/Library/Containers/com.apple.findmy.FindMyWidgetIntentsItems
sudo tmutil removeexclusion ~/Library/Containers/com.apple.findmy.FindMyWidgetPeople
sudo tmutil removeexclusion ~/Library/Containers/com.apple.findmy.FindMyWidgetIntentsPeople
tmutil isexcluded ~/Library/Containers/com.apple.findmy.FindMyWidget*
Keep ups posted, seems like anyone having issues on 12.2 were due to stuff existing prior to the update. Since you deleted the problem files and started over, and things seem to have improved: you may be OK now.So it seems like my problem is still a thing on 12.2
Upon further investigation the error on the findmy files is not Invalid Arguments like you guys' . It's operation not permitted. Which is weird . Tried everything. Resetting time machine by removing the configuration plist and rebooting. Tried formatting every time machine disk I have. It's still a problem. (The problem seems to happen if you backup and let the screen lock. It's not sleeping just locked.)
Then I tried just removing all of the findmy folders in containers and rebooted. It generated a few of the findmy folders and files again.
So I tried the time machine again and it seems to be working fine now. Still testing but yeah.
Nope. Rebooting a couple times made a new folder . Another one of the find my and yeah it failed when locked. Same error. Operation not permitted on those files. Although my old workaround is to run the time machine first without it locking the laptop. Everytime I update OS or clean my Mac using Onyx. Then it'll work fine EverytimeKeep ups posted, seems like anyone having issues on 12.2 were due to stuff existing prior to the update. Since you deleted the problem files and started over, and things seem to have improved: you may be OK now.
Yeah it doesn't backup the first time with that error if I lock the screen . If it's unlocked when it's backing up . The backups after that works just fine. But yeah after a macOS update it'll do that again.@white7561
As I reported before, don’t expect the error messages in the log to go away. They are still here, but the backup should work despite if them.
Also, allow Time Machine to run several backups, as it may start cleaning up only after a few backups. The error seems to disappear after the cleaning. In one of my three backup destinations, it took a few backups until that happened. So don’t give up too quickly!
~/Library/Developer/Xcode/DocumentationCache/v207/13.2.1/DeveloperDocumentation.index/...
~/Library/Developer/Xcode/DocumentationIndex/DeveloperDocumentation.index/...
Failed to acquire device lock assertion even though screen is unlocked - [B]proceeding with copy[/B] of '/Volumes/...
Exactly. I’ve also found such entries in my log, and I’ve come to the same conclusion.Now, in the logs I see many errors, for each file in these folders, similar to the previous errors, but with some change:
Failed to acquire device lock assertion even though screen is unlocked - [B]proceeding with copy[/B] of '/Volumes/...
So it does look like TM is still identifying the error but will now copy the file to the backup anyway AS IS so that the TM backup will not fail.
@TriciaMacMillan : Do you have any thoughts on why these items are affecting mainly Apple Silicon users, and Intel users (like myself) have not experienced these things? Most of the repetitive reports have come from Apple Silicon Mac users (at least on this particular thread.)Exactly. I’ve also found such entries in my log, and I’ve come to the same conclusion.
As to Xcode, I have excluded the Xcode app from the backup since long which speeds up Time Machine significantly. It shouldn’t be a problem to exclude the app, as it can be reinstalled any time if necessary.
@TriciaMacMillan : Do you have any thoughts on why these items are affecting mainly Apple Silicon users, and Intel users (like myself) have not experienced these things? Most of the repetitive reports have come from Apple Silicon Mac users (at least on this particular thread.)
Well, it's still really strange because quite a few people didn't even know TM had an issue with Monterey until pointing them to this thread. Both Intel, and Silicon users. It seems like Apple has resolved it in 12.2. It's just strange how it hit a handful of people usually with the same, or similar problems, and on Silicon based Macs. The other odd thing is, it was usually related to FindMy. Now Apple has usually automatically excluded non essential system parts from the backup. I was thinking they probably should have added this to that list as well, since it doesn't seem to need to be backed up. The Data is stored in iCloud, and if the files are removed, the system recreates them automatically. Really strange. Maybe the cause will come out as we move forward with later releases of Monterey.That’s a most interesting question, but I guess we can make only assumptions. I imagine that it is due to some low level code that handles file attributes and/or access rights, and that has been implemented separately for Apple Silicon, perhaps because it is written in assembler.
But, as I said, just assumptions.
UPDATE: the cleanup finished about 15 minutes after I posted the message above.I had also previously excluded the problematic files and folders and since then my TM was working fine. I would always hear my TM spin the drive every hour. But I stopped checking if it actually completed successfully.
On Friday I upgraded to Monterey 12.2 and since then and until now (Sunday morning) the TM backup that started on Friday afternoon is still cleaning up!
I checked my list of backups and saw a few weird things:
a) turns out I have no backups after 1/20
b) on 1/29 (Friday) I have a backup from 18:09:45 which is still in progress and then another one at 18:18:00 which looks to have completed?!?! The "Latest" folder is linking to the 181800 backup.
So I checked the logs and there I found that my backups were actually failing with similar "Failed to acquire device lock assertion" errors, but on a new set of files. Now it was complaining on
~/Library/Developer/Xcode/DocumentationCache/v207/13.2.1/DeveloperDocumentation.index/...
and
~/Library/Developer/Xcode/DocumentationIndex/DeveloperDocumentation.index/...
I guess if you don't have Xcode then you won't see these errors. So that would explain why my TM failed since 1/20.
Now, in the logs I see many errors, for each file in these folders, similar to the previous errors, but with some change:
Failed to acquire device lock assertion even though screen is unlocked - [B]proceeding with copy[/B] of '/Volumes/...
So it does look like TM is still identifying the error but will now copy the file to the backup anyway AS IS so that the TM backup will not fail.
I can only assume that the cleanup in my case takes a long time because it's the first successful backup in 9 days and it has some 40 previous backups to clean up all the changed/deleted hard links and that can take some time as probably a lot has changed in 9 days. As least I hope so.
Also, my backup drive is Mac OS Extended and not APFS (because I still kept my last backup from my previous Intel-based MBP) - don't know if that changes anything in terms of speed.
There is an option to "Skip Cleaning Up" but since it's been working for so long now, I'll give it some more time since if it actually needs to do this cleanup, if I skip it now I will only defer it to the next backup.
Why I have a newer backup 181800 that seems to have completed and the 180945 is still in progress - I have no idea.
So I hope to have some good news of my own later on ...
That’s true. I have configured two almost identical MacBook Pro 2021. I’ve had these problems on one of them, but the other never had any such issues. I wouldn’t know how I’ve set them up any different from each other.It's just strange how it hit a handful of people usually with the same, or similar problems, and on Silicon based Macs.
Does the log still show the errors? Mine is perfect now since i used my LaunchDaemon that automatically adds every findmy folders to the exception. I didn't just do it once because there are many findmy folders and sometimes it doesn't show and then it shows up. So by adding the exception every boot & everytime it mounts. I can be sure it always adds new unknown findmy folders to the exceptionI am now unable to make reliable Time Machine Backups on 2 M1 Macs and an Intel based IMAC when using OS12.2. On the intel mac the initial file was created successfully but my NAS drives are not being updated, only local snapshots are being stored. On my M1 Macs, I was only able to create the initial backup in Safemode but subsequent backups appear to only be local snapshots as well.
Yeah i agree with that. It is unacceptable from Apple not to fix so long. Time machine is crucial for me.Looks like my time machine backup is working again post update. I'm still going to use CCC in addition to time machine after this nonsense though. Very frustrating that this took so dang long especially given how crucial time machine is.
Time machine is crucial for me.
For 256gb macbook i need something more? I don’t have crucial files on the mac. I have nas for that. But i hate if i try to restore the mac for some reason and time machine not work... Do you recommend something else?Be sure not to have it as your only backup solution. Don't assume when you need to do a restore that it will work.
Backblaze is a joke from personal experienceThe recommended 3-2-1 backup strategy involves:
1. 3 copies of your data
2. on 2 different media types
3. 1 stored in an off-site location, such as a bank vault
Note that this policy also applies to a NAS. A NAS configuration even with RAID is just another storage location.
In my case I have multiple TM backups (as I have experience TM failures in the past), local disk clones, CCC backups to hard drives, and backups to 2 cloud backup services - backblaze and Crashplan.