If I invoke restic -r b2:someBucket backup c:\absolute\path --files-from include.txt where include.txt contains:
**/*.log
Then I get pattern "**/*.log" does not match any files, skipping when in fact c:\absolute\path\foobar.log exists. If I specify /absolute/path/foobar.log instead it works fine.
Hmm I’ve never used restic under Windows, but since separator is \ on that environment, could you try it instead of /?
Maybe Go’s glob pattern recognization has some magic there.
The answer is simple: there is currently no support for ** in --files-from on any platform. restic uses filepath - The Go Programming Language to match filesnames which doesn’t support expanding **.