apps/cnpg/cluster/resources/backup.yaml

12 lines
209 B
YAML
Raw Normal View History

2024-08-14 18:05:16 +00:00
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: daily-backup
2024-08-14 18:08:25 +00:00
namespace: postgres
2024-08-14 18:05:16 +00:00
spec:
2024-10-11 06:41:13 +00:00
schedule: "0 0 0/6 * * *"
2024-08-14 18:05:16 +00:00
backupOwnerReference: self
cluster:
2024-10-11 06:41:13 +00:00
name: app-cluster