Back up macOS Photos with Restic

Restic is a wonderfully simple backup program. I’ve used it on my Linux machines for a while. I recently decided to use it on macOS as well. restic --repo /Volumes/restic-repo --verbose backup ~/Documents ~/Pictures If you run this on macOS, you might get an error like the following from restic. The error indicates that restic can’t open the Photos library folder. can not obtain extended attribute com.apple.fileprovider.ignore#P for /Users/blachniet/Pictures/Photos Library.photoslibrary: can not obtain extended attribute com....

December 10, 2022