change to recovery

This commit is contained in:
2024-08-12 17:51:10 -05:00
parent dc43ba1406
commit d6083afd64

View File

@@ -147,7 +147,7 @@ radarr5:
- path: /mnt/store
readOnly: false
postgres-16-cluster:
mode: standalone
mode: recovery
cluster:
walStorage:
storageClass: local-path
@@ -163,10 +163,15 @@ postgres-16-cluster:
postInitSQL:
- CREATE DATABASE "radarr-main" OWNER "app";
- CREATE DATABASE "radarr-log" OWNER "app";
recovery:
endpointURL: https://s3.us-east-2.amazonaws.com
destinationPath: s3://cl01tl-postgresql-backups/radarr5
endpointCredentials: radarr5-postgresql-16-cluster-backup-secret
recoveryIndex: 1
backup:
enabled: true
endpointURL: https://s3.us-east-2.amazonaws.com
destinationPath: s3://cl01tl-postgresql-backups/radarr5
endpointCredentials: radarr5-postgresql-16-cluster-backup-secret
backupIndex: 1
backupIndex: 2
retentionPolicy: 14d