Proper backing up for postgres cluster
This commit is contained in:
parent
7dfc818b6c
commit
c0dddf0cb9
|
@ -19,7 +19,14 @@ spec:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
backups:
|
backups:
|
||||||
pgbackrest:
|
pgbackrest:
|
||||||
|
manual:
|
||||||
|
repoName: repo1
|
||||||
|
options:
|
||||||
|
- --type=full
|
||||||
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.47-1
|
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.47-1
|
||||||
|
global:
|
||||||
|
repo1-retention-full: "14"
|
||||||
|
repo1-retention-full-type: time
|
||||||
repos:
|
repos:
|
||||||
- name: repo1
|
- name: repo1
|
||||||
volume:
|
volume:
|
||||||
|
@ -29,6 +36,9 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
|
schedules:
|
||||||
|
full: "0 1 * * 0"
|
||||||
|
differential: "0 1 * * 1-6"
|
||||||
monitoring:
|
monitoring:
|
||||||
pgmonitor:
|
pgmonitor:
|
||||||
exporter:
|
exporter:
|
||||||
|
|
Loading…
Reference in a new issue