From 5ef257ebb6c3bf0b7f1aba70c07a505e742aaba7 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 27 Oct 2025 14:34:20 -0700 Subject: [PATCH] Attempt to clarify recursion root patterns in the schema comments. --- 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 b954e0d1..1a964d9e 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -173,9 +173,11 @@ properties: type: string description: | 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. + backups. Recursion root patterns ("R ...") are effectively the same + as "source_directories"; they tell Borg which paths to backup + (modulo any excludes). 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. example: - 'R /' - '- /home/*/.cache'