gcloud-lab/apps/base/customer1/hermes-db/hermes-scheduled-backup.yaml
sirius0xdev a3ad07d191 feat: add dedicated CNPG cluster for Hermes agent memory and trading data
- New hermes-pgdb cluster (Postgres 15.2, 1 instance, 20Gi)
- 3 databases: hermes_memory, trading_data, agent_memory
- 3 roles with SOPS-encrypted secrets (age encryption)
- Daily backups to gs://customer1_db_backup/hermes-backups/
- Wired into Flux pipeline via staging kustomization
2026-05-02 21:31:41 +00:00

12 lines
276 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: hermes-daily-backup
namespace: customer1
spec:
schedule: "0 4 * * *" # Daily at 04:00 UTC
suspend: false
immediate: false
backupOwnerReference: self
cluster:
name: hermes-pgdb