Add another glob pattern example to exclude patterns.

This commit is contained in:
Dan Helfman 2021-09-16 09:51:40 -07:00
parent 4ba206f8f4
commit 77980511c6
1 changed files with 5 additions and 3 deletions

View File

@ -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: