Ver Fonte

Fix for generate-borgmatic-config writing config with invalid one_file_system value.

Dan Helfman há 8 anos atrás
pai
commit
57b3066987
1 ficheiros alterados com 5 adições e 5 exclusões
  1. 5 5
      borgmatic/config/schema.yaml

+ 5 - 5
borgmatic/config/schema.yaml

@@ -6,10 +6,10 @@ map:
             Where to look for files to backup, and where to store those backups. See
             https://borgbackup.readthedocs.io/en/stable/quickstart.html and
             https://borgbackup.readthedocs.io/en/stable/usage.html#borg-create for details.
-        required: True
+        required: true
         map:
             source_directories:
-                required: True
+                required: true
                 seq:
                     - type: scalar
                 desc: List of source directories to backup (required). Globs are expanded.
@@ -20,13 +20,13 @@ map:
             one_file_system:
                 type: bool
                 desc: Stay in same file system (do not cross mount points).
-                example: yes
+                example: true
             remote_path:
                 type: scalar
                 desc: Alternate Borg remote executable. Defaults to "borg".
                 example: borg1
             repositories:
-                required: True
+                required: true
                 seq:
                     - type: scalar
                 desc: |
@@ -112,7 +112,7 @@ map:
                 seq:
                     - type: str
                       enum: ['repository', 'archives', 'disabled']
-                      unique: True
+                      unique: true
                 desc: |
                     List of consistency checks to run: "repository", "archives", or both. Defaults
                     to both. Set to "disabled" to disable all consistency checks. See