Proper backing up for postgres cluster

This commit is contained in:
Gabriel Simmer 2023-12-08 23:43:56 +00:00
parent 7dfc818b6c
commit c0dddf0cb9
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ

View file

@ -19,7 +19,14 @@ spec:
storage: 1Gi
backups:
pgbackrest:
manual:
repoName: repo1
options:
- --type=full
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.47-1
global:
repo1-retention-full: "14"
repo1-retention-full-type: time
repos:
- name: repo1
volume:
@ -29,6 +36,9 @@ spec:
resources:
requests:
storage: 1Gi
schedules:
full: "0 1 * * 0"
differential: "0 1 * * 1-6"
monitoring:
pgmonitor:
exporter: