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

This commit is contained in:
Dan Helfman 2017-07-25 20:32:32 -07:00
parent 1527ff7898
commit 57b3066987
1 changed files with 5 additions and 5 deletions

View File

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