Skip to content

Commit

Permalink
FIX: postgres backup changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marx2 committed Jan 1, 2025
1 parent 8098d9b commit d60eb66
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions cluster/apps/media/postgrescluster-media.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,19 @@ spec:
name: crunchy-postgres-secret
global: &backupFlag
archive-timeout: "60"
archive-push-queue-max: 4GiB
compress-type: "bz2"
compress-level: "9"
delta: "y"
# Minio
repo1-block: "y"
repo1-bundle: "y"
repo1-path: /crunchy-pgo
repo1-retention-full: "30" # days
repo1-retention-full-type: "time"
repo1-retention-full: "14"
repo1-retention-diff: "30"
repo1-path: "/crunchy-pgo"
repo1-s3-uri-style: path
repo1-retention-diff: "30"
repo1-storage-verify-tls: "n"
# repo2-bundle: "y"
# repo2-block: "y"
# repo2-path: "/crunchy-pgo"
# repo2-s3-uri-style: "path"
# repo2-retention-full-type: "time"
# repo2-retention-full: "2"
# repo2-retention-diff: "7"
# repo2-cipher-type: "aes-256-cbc"
archive-push-queue-max: 4GiB
manual:
repoName: repo1
options:
Expand All @@ -106,14 +101,14 @@ spec:
exporter:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.5.1-0

# dataSource:
# pgbackrest:
# stanza: "db"
# configuration: *backupConfig
# global: *backupFlag
# repo:
# name: "repo1"
# s3: *minio
dataSource:
pgbackrest:
stanza: "db"
configuration: *backupConfig
global: *backupFlag
repo:
name: "repo1"
s3: *minio

# proxy:
# pgBouncer:
Expand Down

0 comments on commit d60eb66

Please sign in to comment.