Revert "chore(thin,cloudpg): setup backups"

This reverts commit 15ef935a88.
This commit is contained in:
SeanOMik 2025-02-19 23:12:18 -05:00
parent 15ef935a88
commit 0afcbfb034

View file

@ -44,7 +44,7 @@ spec:
endpointURL: https://s3.seanomik.net
# Note: serverName version needs to be inclemented
# when recovering from an existing cnpg cluster
serverName: &currentCluster postgres16-v2
serverName: &currentCluster postgres16-v1
s3Credentials:
accessKeyId:
name: cloudnative-pg-secret
@ -56,8 +56,11 @@ spec:
# 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-v1
# recovery:
# source: &previousCluster postgres16-v1
initdb:
database: init
owner: postgres
# import:
# type: monolith
# databases:
@ -68,11 +71,11 @@ spec:
# externalCluster: old-cluster
# Note: externalClusters is needed when recovering from an existing cnpg cluster
externalClusters:
- name: *previousCluster
barmanObjectStore:
<<: *barmanObjectStore
serverName: *previousCluster
# externalClusters:
# - name: *previousCluster
# barmanObjectStore:
# <<: *barmanObjectStore
# serverName: *previousCluster
# - name: old-cluster
# connectionParameters:
# # Use the correct IP or host name for the source database