creativeprojects / resticprofile

Configuration profiles manager and scheduler for restic backup
https://creativeprojects.github.io/resticprofile/
GNU General Public License v3.0
604 stars 29 forks source link

drop-ins: move systemd drop-ins into unified schedule struct #341

Closed jkellerer closed 4 months ago

jkellerer commented 4 months ago

provide better granularity where drop-in files can be defined (in relation to #217)

global:
  schedule-defaults:
    systemd-drop-in-files:
      - global-default-drop-in.conf
    log: "scheduling.log"
    lock-wait: 120m

__base:
  repository: "file:/mnt/backup"
  systemd-drop-in-files:
    - default-drop-in.conf

default:
  inherit: "__base"

  check:
    schedule:
      at: "monthly"
      systemd-drop-in-files:
        - check-drop-in.conf