3 ms·
Actually, "--exclude-caches" in restic is just an alias equivalent to the following [1]: --exclude-if-present "CACHEDIR.TAG:Signature: 8a477f597d28d172789f0688
by kilburn 7y ago
Actually, "--exclude-caches" in restic is just an alias equivalent to the following [1]:
--exclude-if-present "CACHEDIR.TAG:Signature: 8a477f597d28d172789f06886806bc55"
You can specify the tag filename, and optionally append ":initial content" (the tag file must start with this content to avoid false tagfile matches).
[1] https://restic.readthedocs.io/en/stable/040_backup.html#including-and-excluding-files https://restic.readthedocs.io/en/stable/040_backup.html#incl...
- Erlich_Bachman 7y agoLike I wrote in the original comment, borg's additional functionality is that it supports both CACHEDIR.TAG and any other filename if that is what user wants.
- kilburn 7y agoAs I wrote in the previous comment, you can do that in restic with the "--exclude-if-present" option where you can specify whatever filename you want as well as optionally some content it must start with to avoid false positives.
- Erlich_Bachman 7y agoNow I finally get it, thank you :). So Borg and Restic are basically on par considering that feature after all!