add export service

This commit is contained in:
nd 2021-06-06 01:37:01 +02:00
parent d01de238a7
commit dbb78ed37f
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
7 changed files with 86 additions and 4 deletions

View file

@ -5,6 +5,29 @@
All configuration is to be placed inside the `backups` dict.
```
# Settings for all backup related timers.
jobs:
retention:
# Can be used to enable/disable the job
enabled: true
# Time this job runs on, random by default
OnCalendar: "hh:mm"
run:
# Can be used to enable/disable the job
enabled: true
# Time this job runs on, random by default
OnCalendar: "hh:mm"
check:
# Can be used to enable/disable the job
enabled: true
# Time this job runs on, random by default
OnCalendar: "hh:mm"
export:
# Can be used to enable/disable the job
enabled: false
# Time this job runs on, random by default
OnCalendar: "hh:mm"
# backend specific settings
backends:
# restic specific settings
@ -33,6 +56,18 @@ retention:
months: 12
years: 3
# Settings for the export task
export:
# list of all remote destinations the backup should be exported to
destinations: []
# every element of this list describes an export target
# - user: root
# host: localhost
# remotepath: /
# type: rsync
# port: 22
# key: "/etc/backup-client/id_ed25519"
# keys are strings with glob patterns of files to be excluded. Value musst be true to enable the exclude, false to disable it
# Only supportet in restic based backups
exclude_files: {}