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.

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 Oct 10, 2024 9:16 AM

  • I had no success backing up to my Western Digital (MyCloudEX2Ultra) since upgrading to Sequoia. Updated to 15.0.1 with same problems.
  • I found an old post that suggested running this command in Terminal: sudo rm -f /etc/nsmb.conf (note: you may need to provide the password used to sign into Sequoia before Terminal will run the command)
  • Since doing so, Time Machine has passed the prior errors and appears to be completing a backup on my MyCloudEX2Ultra via wireless network. As of this post, it reports 5 hours remaining (took <45 minutes to back up to a standard USB drive)
  • Hope this helps
33 replies
Question marked as Top-ranking reply

Oct 10, 2024 9:16 AM in response to Pi-Jay

  • I had no success backing up to my Western Digital (MyCloudEX2Ultra) since upgrading to Sequoia. Updated to 15.0.1 with same problems.
  • I found an old post that suggested running this command in Terminal: sudo rm -f /etc/nsmb.conf (note: you may need to provide the password used to sign into Sequoia before Terminal will run the command)
  • Since doing so, Time Machine has passed the prior errors and appears to be completing a backup on my MyCloudEX2Ultra via wireless network. As of this post, it reports 5 hours remaining (took <45 minutes to back up to a standard USB drive)
  • Hope this helps

Nov 2, 2024 12:18 PM in response to Paul Howard2

This continues to be an issue for me and I have opened a support ticket with Apple. It has been escalated to their engineers. I have reinstalled the OS, the new 15.1 didn't resolve the issue, reformatted the drives, uninstalled the antivirus software I was using, and still have the issue. Interestingly, the backups were working again for the first few days of upgrading to 15.1 and then have stopped again.


I get no specific errors other than Backup Not Completed: Time Machine couldn't back up to....


I'll update this thread with any updates.

Oct 26, 2024 3:13 AM in response to AlWeir

All of these posts about deleting the default nsmb.conf file are completely irrelevant as backups fail whether backing up to a remote drive over SMB or over a local drive.


The problem is happening because Time Machine is being refused access to certain locked files. The specific files can be viewed by searching the logs for the last 24 hours or so:


log show --info --style compact --predicate '(subsystem == "com.apple.TimeMachine")' --last 24h


Time Machine should have full disk access so this is a bug in MacOS.

Nov 4, 2024 12:53 AM in response to Kev McGowan

Yes - the problem is very much related to Time Machine losing permissions to certain files when the machine sleeps. I've worked around this (until it's fixed) by making the following changes to power management:


sudo pmset -b hibernatemode 0

sudo pmset -b standby 0

sudo pmset -b disksleep 1


What this does is prevent the machine from fully hibernating. This will affect battery life a little if it's a laptop you regularly take about the place, but in general terms this is how MacOS -used- to operate.


Nov 8, 2024 6:01 AM in response to David Edge

Glad it worked for you. Unfortunately, I did the same thing you did but still have the problem. I did remove my NAS drive from Time Machine, delete the partition on the NAS and create a new differently-named one, go into Safe Mode, added the new partition and successfully did a full initial backup. I then rebooted into "normal" mode and successfully did a 2nd backup.


But from that point on, if I am "actively" using my Mac, TM completes successfully. However, if I walk away and my Mac is idle, TM always fails to complete a backup, regardless of any energy, screensaver, "put my disk to sleep" settings.

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.

Nov 6, 2024 8:17 AM in response to Pi-Jay

I have a Mac Mini 2 with a Raid 1 WD My Cloud EX2 Ultra on my home network. Time Machine back ups worked every time until Sequoia 15.0 and same problem with 15.1. Can back up to an external HDD fine but to the EX2 Ultra is no longer possible. I have tried all the solutions offered on this forum which I am grateful for, however still no joy with EX2 Ultra. I hoping 15.2 will have a fix for this. Thanks to all for your suggestions.

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.