From 77980511c68f5f0d5ce91ab9ed53d2e29fd2734f Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 16 Sep 2021 09:51:40 -0700 Subject: [PATCH] Add another glob pattern example to exclude patterns. --- borgmatic/config/schema.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index a2f3bea6..c0bf2e3f 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -135,12 +135,14 @@ properties: type: string description: | Any paths matching these patterns are excluded from backups. - Globs and tildes are expanded. Do not backslash spaces in - path names. See the output of "borg help patterns" for more - details. + Globs and tildes are expanded. (Note however that a glob + pattern must either start with a glob or be an absolute + path.) Do not backslash spaces in path names. See the output + of "borg help patterns" for more details. example: - '*.pyc' - /home/*/.cache + - '*/.vim*.tmp' - /etc/ssl - /home/user/path with spaces exclude_from: