diff --git a/borgmatic/actions/create.py b/borgmatic/actions/create.py index c4b0eed6..43772d28 100644 --- a/borgmatic/actions/create.py +++ b/borgmatic/actions/create.py @@ -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( diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index 183c08e8..67c58ccb 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -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'