Time Machine backup on macOS Sequoia cannot be completed

Hello everyone,


since the upgrade to 15.0 the Time Machine backup fails. The reason is some individual system files that cannot be backed up. Mostly some db files, such as the Library/Safari/History.db or files in the Firefox profiles. I have already excluded some files from the backup, but then Time Machine finds another file that cannot be backed up. The backup process is then canceled.


“Time Machine could not complete the backup to “Time Machine Backup”. Backup of “Library/Safari/History.db” could not be created.“


After switching from Intel to M, I had only created one backup under Sonoma so far, which worked without any problems. The two years of “Intel” history and previous OSs were also transferred. No matter which OS, Time Machine always worked without any problems.


Any ideas? Many thanks in advance!

Pi-Jay

MacBook Pro 16″, macOS 15.0

Posted on Oct 1, 2024 12:36 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 6, 2024 8:06 AM

I resolved the issue after working with an Apple support person. I have an MBP M1 Pro with MacOS 15.1.1. and I had failures with TM both on NAS and hard wired backups. My workaround, as per the boards, was to to turn off the MacOS Firewall to let the backups work to completion.


However, I also have a cyber security software which includes a firewall of its own. There is a conflict between its firewall and the MacOS one starting with Sequoia 15.x. After I turned off the security software firewall and left the Mac OS one active, all TM backups work without error. The 3rd party cyber security software firewalls need to be updated for Sequoia.

152 replies

Dec 13, 2024 8:14 AM in response to Sidamos

OK, so I tested the 2016 trick about disabling the IO throttling (sudo sysctl debug.lowpri_throttle_enabled=0) and that helped!

First backup after that on my MacBook Air took 11 minutes to prepare (before, it was >1h) and the backup then took about 15 minutes including clean up.

Second backup right after took 7 minutes to prepare and 4 minutes for backup and clean up.

I would say that is back to pre Sequoia performance. Great!

One can make this survive reboot by adding "debug.lowpri_throttle_enabled=0" to "/etc/sysctl.conf".


I also have from 1 year ago "/etc/nsmb.conf" with this content on the MacBook Air:

[default]

signing_required=0


I'll see when I try the throttling trick on my Mac mini if that makes any difference for TM because I do not have that file there.

Nov 8, 2024 6:48 AM in response to keithfromsalado

Although I had initial success with this fix, it quit working for me after a couple of follow up back ups. I have been out of town for several weeks without access to my NAS but keeping up with all Sequoia partial updates. When I returned home I deleted my laptop's backup file on the NAS and re-ran Time Machine. After a successful backup to the NAS, the updated backups have been running just like they did pre-Sequoia. I suspect Apple has made a change in Sequoia Time Machine with one of the updates since that is all that has changed for me.

Nov 14, 2024 10:32 AM in response to Pi-Jay

As I posted earlier, I was unable to successfully make a TM backup session after installing Sequoia. Today however, I was able to successfully back up after turning off the firewall on my MacBook. I then updated to 15.1 and successfully backed up with the firewall turned on. Can’t really explain this, but Time Machine now works properly.

Dec 25, 2024 10:26 AM in response to Pi-Jay

Pi-Jay,


Go into the /Users/your user account/Library/Safari you can get here by going to the Go Menu and holding down the Option Key Select Library. When you click on the History.db file press Command I to get the Information on the file make sure that your account is listed in the Sharing and Permissions section, you may need to add it in and set the Privilege Read and Write.


Note: You need to click on the Lock in the lower right hand corner before changing the Sharing & Permissions

Nov 4, 2024 4:22 PM in response to Chewbury

I, too have had problems with TimeMachine backing up to a Synology NAS server since upgrading to Sequoia (15.0 or 15.0.1, don't know which). Problem continues under 15.1.


I tried some of the other suggestions - (1) turning off Firewall, but (2)mainly removing the backup drive in TimeMachine settings, deleting my old backup folder on the NAS, booting into SAFE Mode and pointing TimeMachine settings into a newly created NAS folder share and backing up (successfully). Then doing a "normal" rebooting. Time Machine successfully backups as long as I keep my Mac Studio active. But whenever I leave my Mac and it hibernates, it always fails. But once I get back onto my Mac and it is "active", TM successfully backs up.


I have already gone into System Settings : Energy and enabled "Prevent automatic sleeping when the display is off" and disabled "Put hard disks to sleep when possible". This has not prevented the backup failures when I am away from my Mac.


I will try the suggestion above to change my power management.

Feb 6, 2025 5:45 PM in response to rakgupta1

This community was helpful in giving me paths to finding a way to do a TimeMachine backup on my MBP 13" M1 2020 MacOS15.3. What finally worked was disabling the Apple Firewall. I kept the Norton Firewall active for some protection while the Apple firewall was inactive. Backup took about the same amount of time (2 hrs) to complete as it has in the past. Adding TimeMachine.app to the list of apps that were allowed to be accessed in SystemSettings/Network/Firewall didn't work. I also spent a lot of time trying to find the file that TimeMachine identified as the file blocking completion of Backup. Spotlight was not helpful and so I went down numerous blind alleys in my unsuccessful search. I thought by eliminating this file, Backup might work. It seems like the best permanent fix lies with Apple. Good luck to you!

Dec 18, 2024 5:33 AM in response to Pi-Jay

I am on macOS 15.2 MacStudio M1, with the TM storing on a thunderbolt attached ssd. Using the command:


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


I see the following TM errors when the machine is locked (I've TM setup for hourly backups):


2024-12-18 11:49:25.077 E  backupd[250:1e72603] [com.apple.TimeMachine:FileProtection] Failed to proactively acquire device lock assertion on lock state change (deviceIsLocked), assertion state: <dropped>, error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2024-12-18 11:50:13.608 E  backupd[250:1e726d1] [com.apple.TimeMachine:FileProtection] Failed to acquire device lock assertion for '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/maccback/2024-12-18-114912/Data/Users/rdm/Library/Containers/com.apple.findmy.FindMyWidgetPeople/Data/SystemData/com.apple.chrono/timelines/com.apple.findmy.FindMyWidgetPeople/systemSmall---1238357860398622014----164.00w--164.00h--20.00r--0f--0.00t-0.00l-0.00b0.00t.chrono-timeline' (assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2024-12-18 11:50:17.473 E  backupd[250:1e726d1] [com.apple.TimeMachine:FileProtection] Failed to acquire device lock assertion for '/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/maccback/2024-12-18-114912/Data/Users/rdm/Library/Metadata/Assets/com.apple.MobileAsset.SpotlightResources.plist' (assertion state: <dropped>), error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"



These errors don't appear when the machine is not locked. I have indeed one FindMy People widget setup. Do other people find something similar?


Cheers, Fons.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Time Machine backup on macOS Sequoia cannot be completed

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