Time Machine Backup is failing to 2nd Drive

I have been using Time Machine with a pair of USB attached drives for several years now without a problem. The drives have changed over that time as space requirements have changed, but the current pair have been my Time Machine drives for quite some time. I am running macOS Mojave 10.14.2. I have been backing up both my internal SSD and an external SSD. The drives I am using for Time Machine are Western Digital My Book 6TB. The external SSD is a Western Digital Passport 1TB.


Of course I bought my MacBook Pro in Dec. 2015 so my extended Apple Care coverage expired a few weeks ago.


This past week, backups failed to one drive (Mospheira), then the other (Hogwarts). In both cases the backup would start with many gigabytes backed up prior to failing. I did some research and found a command to search the logs for errors and the failures appear to be permission related. The command I am using is "sudo log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 4h | grep Error". The output appears at the end of my post. 


My next step was to boot into recovery mode and run a verification on my internal drive. I also ran File Aid on the external SSD. No issues were found with either drive. I removed both external drives from Time Machine and added them back. I also ran File Aid on the time machine drives and found now errors.


Now the first drive (Mospheira) works fine. But the second drive (Hogwarts) fails with the same errors as before. When I remove Mospheira from the Time Machine list and only have Hogwarts for backups, the failure still happens. I replaced the second drive with a brand new WD My Book 6TB drive and it fails with the same errors. Mospheira continues to work for backups.


I used Onyx to clean up system cache. This has fixed some odd problems in the past but did not make a difference this time. 


I have reformatted the drives that Time Machine fails with multiple times per Apple's instructions and it doesn't make a difference. I excluded the external SSD from backups and Time Machine still fails. At this point I have been running for several days with only Mospheira defined to Time Machine and backups work every time.


Adding the log output to this post will exceed the 5000 character limit, but I have it saved.

MacBook Pro Retina (2015 and later)

Posted on Dec 27, 2018 7:14 AM

Reply

Similar questions

3 replies

Dec 28, 2018 10:29 AM in response to i_rina

Thank you, but I will not have to contact Product Support now. I have now located the issue but not the root cause. The messages that had me puzzled were like this:


backupd: (TimeMachine) [com.apple.TimeMachine:TMLogError] Failed to remove attribute 'com.apple.backupd.SnapshotVolumeLastFSEventID' from 'file:///', error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"


There are many more. I have seen others post these messages.


However, looking deeper I discovered that these messages appear even for successful backups to my "Mosphiera" drive. So I went to the end of the error messages. For a good backup Time Machine will finish with messages that give statistics on what was backed up. In the failure case I found this set of messages.


backupd: (TimeMachine) [com.apple.TimeMachine:TMLogError] Error: (-48) SrcErr:NO Copying /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/MacBook Pro/2018-12-27-090310/Macintosh HD/Users/jerome/Library/Containers/com.nektony.App-Cleaner/Data/Library/Application Support/App Cleaner & Uninstal‌ler to /Volumes/Hogwarts/Backups.backupdb/MacBook Pro/2018-12-27-090311.inProgress/7F0F6A1B-F69E-4AD4-8C94-AAB40577EA40/Macintosh HD/Users/jerome/Library/Containers/com.nektony.App-Cleaner/Data/Library/Application Support

backupd: (TimeMachine) [com.apple.TimeMachine:TMLogError] Stopping backup.

backupd: (TimeMachine) [com.apple.TimeMachine:TMLogError] Error: (-8062) SrcErr:NO Copying /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/MacBook Pro/2018-12-27-090310/Macintosh HD/Users/jerome/Library/Containers/com.nektony.App-Cleaner/Data/Library/Application Support/App Cleaner & Uninstal‌ler/auth.cer to /Volumes/Hogwarts/Backups.backupdb/MacBook Pro/2018-12-27-090311.inProgress/7F0F6A1B-F69E-4AD4-8C94-AAB40577EA40/Macintosh HD/Users/jerome/Library/Containers/com.nektony.App-Cleaner/Data/Library/Application Support

backupd: (TimeMachine) [com.apple.TimeMachine:TMLogError] Copy stage failed with error:11

backupd: (TimeMachine) [com.apple.TimeMachine:TMLogError] Backup failed with error 11: 11


I recently installed the app "App Cleaner & Uninstal‌ler" and I am guessing this is what triggered the failures. Uninstalling this application and then making sure any trace of the application was removed with it, has resulted in successful backups to both drives since then.


The mystery that remains is why Time Machine was happy to perform backups to Mospheira but not any other drive. Mospheira has backups as far back as 2016. Perhaps backup work because it has an older backup set. Regardless, something is not right with Time Machine. If it was only something wrong with the app I uninstalled I would expect failures for all backups.

Dec 28, 2018 6:27 AM in response to Jerome Vitner

Greetings, Jerome.


I see that you're unable to back up to a backup drive you've named "Hogwarts". You've restarted, reformatted and tested the drive,  but you can't locate the issue. Because of all of the great troubleshooting you've used, it's time to contact Apple Support.


Apple - Support - Product Selection — After selecting this link, choose Mac notebooks > Other Mac Topics > The topic is not listed, enter the word "Time" in the field and choose Backing up or restoring data using Time Machine. Then select the method you'd like to contact them with.


Take care!

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 is failing to 2nd Drive

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