---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
  name: daily-backup
  namespace: postgres
spec:
  schedule: "0 1 * * *"
  backupOwnerReference: self
  cluster:
    name: app-cluster