Skip to content

Commit

Permalink
restore postgres from backup and increment
Browse files Browse the repository at this point in the history
  • Loading branch information
creedasaurus committed Jun 28, 2024
1 parent bdcaa9e commit 0a99a33
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions apps/services/database/postgres/cluster16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
endpointURL: https://s3.vulf.haus
# Note: serverName version needs to be inclemented
# when recovering from an existing cnpg cluster
serverName: &currentCluster postgres16-v0
serverName: &currentCluster postgres16-v1
s3Credentials:
accessKeyId:
name: cloudnative-pg-secret
Expand All @@ -48,12 +48,12 @@ spec:
key: aws-secret-access-key
# Note: previousCluster needs to be set to the name of the previous
# cluster when recovering from an existing cnpg cluster
# bootstrap:
# recovery:
# source: &previousCluster postgres16-v5
# # Note: externalClusters is needed when recovering from an existing cnpg cluster
# externalClusters:
# - name: *previousCluster
# barmanObjectStore:
# <<: *barmanObjectStore
# serverName: *previousCluster
bootstrap:
recovery:
source: &previousCluster postgres16-v0
# Note: externalClusters is needed when recovering from an existing cnpg cluster
externalClusters:
- name: *previousCluster
barmanObjectStore:
<<: *barmanObjectStore
serverName: *previousCluster

0 comments on commit 0a99a33

Please sign in to comment.