Ah, I am not really sure how it can work.
I also saw this post Multiple directories where it’s essentially mentioned it just can’t work (maybe by design? i.e. that’s not a use case).
Currently there is not a better way and because of how Kopia identifies snapshots and policies (by their root path) that would be quite hard to do.
I guess I will eagerly watch Kopia and see if in feature there is an easy way to simply tell Kopia:
- Backup these paths → backup set
- Ignore these kind of patterns/extensions etc when you encounter in the backup set paths.
That’s it. something like how Borg and Restic does it if I may say so.
I simply couldn’t wrap my head around how to do the “include” by using the exclude syntax (the git ignore thingie). And I guess it’s my inability to grok it.
Or maybe that’s the whole point of Kopia - just set one path when trying to create Snapshot and the ignore file (or the policy folder where I guess there has to be a .kopiaignore file maybe? And maybe some policy file as well somewhere?) will ignore whatever are to be ignored in that path.
I didn’t get much from it. Anyway, maybe I will try again after KopiaUI 1.0 or a bit later.
Thanks for the backup app however.