scheduler.local.yaml

← Все примеры | Сырой YAML (скачать/открыть)
api_version: iobackup.io/v1
kind: BackupJob

metadata:
  job_id: scheduler-example
  name: Job with local schedule spec (requires agent features.scheduler)

spec:
  enabled: true
  operation:
    type: backup
    strategy: full
  repository:
    type: single_artifact
    engine: iobackup
  schedules:
    - schedule_id: sch_interval
      interval: 1h
      timezone: UTC
      missed_run_policy: skip
  tasks:
    - task_id: t1
      source:
        type: filesystem
        config:
          paths:
            - /etc/hosts
      destination:
        type: local
        config:
          path: /tmp/backups