Browse Source

Fix repository schema description.

Dan Helfman 2 years ago
parent
commit
0e3da7be63
1 changed files with 10 additions and 19 deletions
  1. 10 19
      borgmatic/config/schema.yaml

+ 10 - 19
borgmatic/config/schema.yaml

@@ -46,29 +46,20 @@ properties:
                     properties:
                         path:
                             type: string
-                            description: |
-                                Path to local or remote repository
-                                (required). Tildes are expanded.
-                                Multiple repositories are backed up
-                                to in sequence. Borg placeholders
-                                can be used. See the output of
-                                "borg help placeholders" for
-                                details. See ssh_command for SSH
-                                options like identity file or port.
-                                If systemd service is used, then
-                                add local repository paths in the
-                                systemd service file to the
-                                ReadWritePaths list.
                             example: ssh://user@backupserver/./{fqdn}
                         label:
                             type: string
-                            description: |
-                                Optional label for the repository. This 
-                                can be used with the --repository flag 
-                                to select a repository to backup to. 
-                                If not specified, the repository path is 
-                                used as the label.
                             example: backupserver
+                description: |
+                    A required list of local or remote repositories with paths
+                    and optional labels (which can be used with the --repository
+                    flag to select a repository). Tildes are expanded. Multiple
+                    repositories are backed up to in sequence. Borg placeholders
+                    can be used. See the output of "borg help placeholders" for
+                    details. See ssh_command for SSH options like identity file
+                    or port. If systemd service is used, then add local
+                    repository paths in the systemd service file to the
+                    ReadWritePaths list.
                 example:
                     - path: ssh://user@backupserver/./sourcehostname.borg
                       label: backupserver