retention-dry-run.local.yaml
api_version: iobackup.io/v1 kind: BackupJob metadata: job_id: retention-dry-run-example name: Retention policy with dry_run (no deletions when enforced) spec: enabled: true operation: type: backup strategy: full repository: type: single_artifact engine: iobackup tasks: - task_id: t1 source: type: filesystem config: paths: - /etc/hosts destination: type: local config: path: /tmp/backups backup: format: tar.gz compression: gzip checksum: sha256 policies: retention: enabled: true dry_run: true keep_last_days: 7