mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:34:31 +00:00
Adds the ScheduledBackup CR to source control. Fixes schedule from 5-field to 6-field format (0 0 3 * * *) — CNPG requires seconds as first field. The broken schedule caused the reconcile loop that generated 746 stale Backup CRs. Deleted 7 orphaned GitLab Garage buckets (~8.5 GB) and resumed daily backups. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
468 B
YAML
19 lines
468 B
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: ScheduledBackup
|
|
metadata:
|
|
name: knoe-db-scheduled-backup
|
|
namespace: knoe-db
|
|
spec:
|
|
cluster:
|
|
name: knoe-db
|
|
# Six-field cron: seconds minutes hours day month weekday
|
|
# Fires daily at 03:00:00 UTC
|
|
schedule: "0 0 3 * * *"
|
|
method: plugin
|
|
pluginConfiguration:
|
|
name: barman-cloud.cloudnative-pg.io
|
|
parameters:
|
|
barmanObjectName: knoe-db-barman-objectstore
|
|
immediate: true
|
|
backupOwnerReference: self
|