[Bug]: Time Machine backup failures
- Dominant language
- Swift
- Stars
- 49.9k
- Forks
- 1.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 22
Description
### I have done the following
- [x] I have searched the existing issues
- [ ] If possible, I've reproduced the issue using the 'main' branch of this project
### Steps to reproduce
All of a sudden my Time Machine backups were hanging and failing and after a lot of trial and error I've found the culprit to be `~/Library/Application\ Support/com.apple.container/snapshots`
I had tried different disks both networked and USB and it was always hanging right around 10% of the way through. Finally I got the idea to look at backupd's open files while it was hung and there was `~/Library/Application\ Support/com.apple.container/snapshots` Once I added that to my list of excluded backup paths everything's fine.
I'd like to offer more in terms of logs or something useful to point to the actual problem but backupd just gets stuck trying to read a file in there and eventually gives up and I get a generic error in the UI about possible permissions problems.
### Current behavior
I'm not sure why, but Time Machine / backupd can't handle `~/Library/Application\ Support/com.apple.container/snapshots`
### Expected behavior
I'd like to be able to back it up, but as long as my Time Machine backups on the rest of my computer work it'd be ok to skip it by default.
### Environment
```markdown
- OS: 15.6 (24G84)
- Xcode: Version 16.4 (16F6)
- Container: Initially version 0.1.0 but also tried after updating to 0.3.0
```
### Relevant log output
```shell
Time Machine and backupd provide very little information. I'm open to suggestions.
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.