apps/cnpg/cluster/resources/backup.yaml

11 lines
209 B
YAML

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