Restore.
This commit is contained in:
parent
eabdced155
commit
362d50652d
1 changed files with 16 additions and 0 deletions
|
@ -25,6 +25,8 @@ spec:
|
||||||
monitoring:
|
monitoring:
|
||||||
enablePodMonitor: true
|
enablePodMonitor: true
|
||||||
backup:
|
backup:
|
||||||
|
recovery:
|
||||||
|
source: clusterBackup
|
||||||
retentionPolicy: 30d
|
retentionPolicy: 30d
|
||||||
barmanObjectStore:
|
barmanObjectStore:
|
||||||
wal:
|
wal:
|
||||||
|
@ -40,3 +42,17 @@ spec:
|
||||||
secretAccessKey:
|
secretAccessKey:
|
||||||
name: cloudnative-pg-secret
|
name: cloudnative-pg-secret
|
||||||
key: aws-secret-access-key
|
key: aws-secret-access-key
|
||||||
|
externalClusters:
|
||||||
|
- name: clusterBackup
|
||||||
|
barmanObjectStore:
|
||||||
|
destinationPath: https://${SECRET_CLOUDFLARE_ACCOUNT_ID}.r2.cloudflarestorage.com
|
||||||
|
s3Credentials:
|
||||||
|
accessKeyId:
|
||||||
|
name: cloudnative-pg-secret
|
||||||
|
key: aws-access-key-id
|
||||||
|
secretAccessKey:
|
||||||
|
name: cloudnative-pg-secret
|
||||||
|
key: aws-secret-access-key
|
||||||
|
wal:
|
||||||
|
maxParallel: 8
|
||||||
|
compression: bzip2
|
||||||
|
|
Reference in a new issue