Tools · November 4, 2022

Troubleshooting with Time Machine (macOS)

I have this problem after upgrade to macOS Ventura. If you cannot completed your Time Machine Backup, see following for something to try.

1. Check disk.

Run Disk Util -> First-Aid for your external backup disk.

2. Check TM log to see more error detail.

Type below code into your terminal app.

printf '\e[3J' && log show --predicate 'subsystem == ""' --info --last 6h | grep -F 'eMac' | grep -Fv 'etat' | awk -F']' '{print substr($0,1,19), $NF}' 

For my machine, it show that TM is looking for some path that have 2.81 PB in size! I just ignore that folder in my TM process. See the next topic for how to do this.

3. Put files/folders exclusion.

The easy way is to do from terminal app.

To add an exclusion.

$ sudo tmutil addexclusion -p ~/xxxxxxxxx/

To remove an exclusion.

$ sudo tmutil removeexclusion -p ~/xxxxxxxx/

4. Install Xcode!

One of my error is “error: missingURLForRemounting” and I can resolve by install Xcode !!