Add changelog entry for validating exclude patterns

This commit is contained in:
Lorenz Bausch 2022-05-07 21:34:12 +02:00
parent 36bd464e8c
commit e7df66cc91
No known key found for this signature in database
GPG key ID: FF6F200261C01807

View file

@ -0,0 +1,9 @@
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