mirror of
https://github.com/octoleo/restic.git
synced 2024-11-24 21:57:41 +00:00
12 lines
499 B
Plaintext
12 lines
499 B
Plaintext
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 files that were meant to be excluded 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
|