I am using Kopia to backup my home folder on my MBP, which is /Users/budy. I ran across an issue with some files in my Library/Cache dir, so I decided to exclude the Cache dir completely. I created a new rule for this and it looked like this:
budy@budy ~ % kopia policy show bduy@budy:/Users/budy Policy for budy@budy:/Users/budy: Retention: Annual snapshots: 3 inherited from (global) Monthly snapshots: 24 inherited from (global) Weekly snapshots: 4 inherited from (global) Daily snapshots: 7 inherited from (global) Hourly snapshots: 48 inherited from (global) Latest snapshots: 10 inherited from (global) Files policy: Ignore rules: **/Library/Caches** (defined for this target) **controlmaster-** (defined for this target) /Users/budy/Library/Google/** (defined for this target) Read ignore rules from files: .kopiaignore inherited from (global)
However, this atually didn’t work and Kopia again stumled over a file having strange permissions on it. So either my rules are not right, or Kopia still enters these directories, but maybe just doesn’t upload the files/folders which are under ~/Library/Chaches.