Update patterns schema comment (#962).

This commit is contained in:
Dan Helfman
2025-01-15 12:37:44 -08:00
parent cfeeb87bbe
commit 44efca2be9
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ def run_create(
# Process the patterns again in case any data source hooks updated them. Without this step,
# we could end up with duplicate paths that cause Borg to hang when it tries to read from
# the same named pipe twice.
# patterns = process_patterns(patterns, working_directory, skip_expand_paths=config_paths)
patterns = process_patterns(patterns, working_directory, skip_expand_paths=config_paths)
stream_processes = [process for processes in active_dumps.values() for process in processes]
json_output = borgmatic.borg.create.create_archive(
+1 -2
View File
@@ -131,8 +131,7 @@ properties:
Any paths matching these patterns are included/excluded from
backups. Globs are expanded. (Tildes are not.) See the output of
"borg help patterns" for more details. Quote any value if it
contains leading punctuation, so it parses correctly. Note that only
one of "patterns" and "source_directories" may be used.
contains leading punctuation, so it parses correctly.
example:
- 'R /'
- '- /home/*/.cache'