--- # Ceph RGW (S3) backup target for the arrproxy token-store CNPG cluster, # provisioned by the in-estate cephrgw-operator. One dedicated bucket + owner # user per cluster. apiVersion: ceph.unkin.net/v1alpha1 kind: ObjectStoreUser metadata: name: cnpg-arrproxy-backup namespace: arrstack annotations: argocd.argoproj.io/sync-wave: "0" spec: displayName: "CNPG backup owner (arrproxy)" uid: cnpg-arrproxy-backup maxBuckets: 5 secretName: cnpg-arrproxy-backup-s3 retainOnDelete: true --- apiVersion: ceph.unkin.net/v1alpha1 kind: Bucket metadata: name: cnpg-arrproxy namespace: arrstack annotations: argocd.argoproj.io/sync-wave: "0" spec: placementTarget: ec bucketName: cnpg-arrproxy ownerRef: cnpg-arrproxy-backup versioning: false tags: app: arrproxy purpose: cnpg-backup retainOnDelete: true --- # Nightly base backup; continuous WAL archiving is always-on via the Cluster's # spec.backup.barmanObjectStore. Staggered off other clusters' schedules. apiVersion: postgresql.cnpg.io/v1 kind: ScheduledBackup metadata: name: cnpg-arrproxy-nightly namespace: arrstack annotations: argocd.argoproj.io/sync-wave: "0" spec: schedule: "0 20 2 * * *" immediate: false backupOwnerReference: self method: barmanObjectStore cluster: name: arrproxy-db