Hacker News new | ask | show | jobs
by c0nsumer 1964 days ago
I do something similar, by having a pretty global exclude for folders called donotbackup in my backup tools. Quite useful.
1 comments

As far as backup is concerned, a well-supported (by Borg, restic, and others) way of excluding directories is by putting a file that conforms to the CACHEDIR.TAG standard.

https://bford.info/cachedir/

Thanks! I wasn't aware of this. Mostly it's for Apple's Time Machine which doesn't support it, but this is neat to hear about.