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