Proper backing up for postgres cluster
This commit is contained in:
parent
7dfc818b6c
commit
c0dddf0cb9
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue