From e7df66cc91a46ead48233a1a9386aea94ff528f1 Mon Sep 17 00:00:00 2001 From: Lorenz Bausch Date: Sat, 7 May 2022 21:34:12 +0200 Subject: [PATCH] Add changelog entry for validating exclude patterns --- changelog/unreleased/issue-3709 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 changelog/unreleased/issue-3709 diff --git a/changelog/unreleased/issue-3709 b/changelog/unreleased/issue-3709 new file mode 100644 index 000000000..195b4b502 --- /dev/null +++ b/changelog/unreleased/issue-3709 @@ -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