mirror of
https://github.com/octoleo/restic.git
synced 2024-11-15 01:34:06 +00:00
12 lines
492 B
Plaintext
12 lines
492 B
Plaintext
Enhancement: Validate include/exclude patterns before restoring
|
|
|
|
Patterns provided to `restore` via `--exclude`, `--iexclude`, `--include`
|
|
and `--iinclude` weren't validated before running the restore. Invalid
|
|
patterns would result in error messages being printed repeatedly, and
|
|
possibly unwanted files being restored.
|
|
|
|
Restic now validates all patterns before running the restore, and aborts
|
|
with a fatal error if an invalid pattern is detected.
|
|
|
|
https://github.com/restic/restic/pull/3819
|