浏览代码

Add working_directory to borgmatic schema

Fabian Schilling 3 年之前
父节点
当前提交
f15498f6d9
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      borgmatic/config/schema.yaml

+ 8 - 0
borgmatic/config/schema.yaml

@@ -42,6 +42,14 @@ properties:
                 example:
                     - user@backupserver:sourcehostname.borg
                     - "user@backupserver:{fqdn}"
+            working_directory:
+                type: string
+                description: |
+                    Working directory for the "borg create" command. Tildes are
+                    expanded. Useful for backing up using relative paths. See
+                    http://borgbackup.readthedocs.io/en/stable/usage/create.html
+                    for details.
+                example: /path/to/working/directory
             one_file_system:
                 type: boolean
                 description: |