1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-22 15:57:07 +00:00
restic/changelog/unreleased/issue-3709

10 lines
471 B
Text
Raw Normal View History

Enhancement: Validate exclude patterns before backing up
Exclude patterns provided via `--exclude`, `--iexclude`, `--exclude-file` or `--iexclude-file`
previously weren't validated. As a consequence, invalid patterns resulted in all files being backed up.
restic now validates all patterns before running the backup and aborts with a fatal error
if an invalid pattern is detected.
https://github.com/restic/restic/issues/3709
https://github.com/restic/restic/pull/3734