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

View file

@ -135,12 +135,14 @@ properties:
type: string type: string
description: | description: |
Any paths matching these patterns are excluded from backups. Any paths matching these patterns are excluded from backups.
Globs and tildes are expanded. Do not backslash spaces in Globs and tildes are expanded. (Note however that a glob
path names. See the output of "borg help patterns" for more pattern must either start with a glob or be an absolute
details. path.) Do not backslash spaces in path names. See the output
of "borg help patterns" for more details.
example: example:
- '*.pyc' - '*.pyc'
- /home/*/.cache - /home/*/.cache
- '*/.vim*.tmp'
- /etc/ssl - /etc/ssl
- /home/user/path with spaces - /home/user/path with spaces
exclude_from: exclude_from: