Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

brijazz

macrumors 6502
Original poster
Jul 31, 2008
420
565
I've been using a Time Capsule for years, problem-free. Last week, I was researching a way to be notified when TM backups completed successfully, which led me to TM Notifier. It works as advertised. However, it keeps notifying me of this error:
Code:
com.apple.backupd.status.xpc: connection invalid
Despite the error, my backups are completing (and I was able to verify them). So, what's this error all about?
 
Looks like a Cross Process Communication (judging from the "xpc") problem. That app has not been updated for 5 years I think. The software has compatibility problem with newer macOSes.
 
Looks like a Cross Process Communication (judging from the "xpc") problem. That app has not been updated for 5 years I think. The software has compatibility problem with newer macOSes.
OK, thanks. I'm not going to worry about it since backups seem to be working - more curious than anything! While we're on the topic, can you think of another way to get notified when TM backups are completed? Seems odd that Apple doesn't include this option itself.
 
I can think of 2 ways:

  1. Run a script at regular intervals to view recent system log. If a backup complete entry is found, trigger the notification process that you intend to use. For example: log show --last 20m | grep 'PreventUserIdleSystemSleep "Backup Job"' && curl -X POST --data "backup completed" http://example.com/api/endpoint
  2. Run a script at regular intervals to list directories in the backup path. If the latest one does not end with .inProgress, it indicates a successful backup, with the folder name representing the backup time.
 
I have plenty of these errors in my logs. They're logged as errors. I did a search for "xpc: connection" and I found plenty of

com.apple.backupd.xpc: connection invalid

com.apple.backupd.sandbox.xpc: connection invalid

These log entries are not stored, so I only have them since the last reboot, which was yesterday around this time. In the last 24 hours I've had 90 of these errors. 25 of them were the first type, the one you are seeing.

I ran "TheTimeMachineMechanic", T2M2, covering the last 24 hours. It shows no errors for my backups.
 
  • Like
Reactions: brijazz
I can think of 2 ways:

  1. Run a script at regular intervals to view recent system log. If a backup complete entry is found, trigger the notification process that you intend to use. For example: log show --last 20m | grep 'PreventUserIdleSystemSleep "Backup Job"' && curl -X POST --data "backup completed" http://example.com/api/endpoint
  2. Run a script at regular intervals to list directories in the backup path. If the latest one does not end with .inProgress, it indicates a successful backup, with the folder name representing the backup time.
Clever solutions. Thanks!
 
I have the same issue ( Ventura 13.6 (22G120)). Do you find any solution; I use usb3 external disk.
 
I find a solution.

I had the same issue with usb3 external hard drive, using for Time Machine.

I downloaded CCCloner and I made back up from it. The backup was successful with warning. The warning was a corrupted file, which created by OneDrive. When I deleted it the Time Machine was able to finished too...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.