enable backups

This commit is contained in:
2025-02-26 13:40:32 -06:00
parent f5c771d147
commit 68386c1e31
7 changed files with 14 additions and 42 deletions

View File

@@ -120,7 +120,7 @@ sonarr4:
- path: /mnt/store
readOnly: false
postgres-17-cluster:
mode: recovery
mode: standalone
cluster:
walStorage:
storageClass: local-path
@@ -138,12 +138,8 @@ postgres-17-cluster:
postInitSQL:
- CREATE DATABASE "sonarr-main" OWNER "app";
- CREATE DATABASE "sonarr-log" OWNER "app";
recovery:
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/sonarr4/sonarr4-postgresql-17-cluster
endpointCredentials: sonarr4-postgresql-17-cluster-backup-secret
backup:
enabled: false
enabled: true
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/sonarr4/sonarr4-postgresql-17-cluster
endpointCredentials: sonarr4-postgresql-17-cluster-backup-secret