enable backups

This commit is contained in:
2025-03-03 18:07:17 -06:00
parent ecd1eb06f7
commit 6c28d18f18

View File

@@ -103,7 +103,7 @@ lidarr:
readOnly: false readOnly: false
postgres-17-cluster: postgres-17-cluster:
nameOverride: lidarr2-postgresql-17 nameOverride: lidarr2-postgresql-17
mode: recovery mode: standalone
cluster: cluster:
walStorage: walStorage:
storageClass: local-path storageClass: local-path
@@ -120,13 +120,8 @@ postgres-17-cluster:
postInitSQL: postInitSQL:
- CREATE DATABASE "lidarr-main" OWNER "app"; - CREATE DATABASE "lidarr-main" OWNER "app";
- CREATE DATABASE "lidarr-log" OWNER "app"; - CREATE DATABASE "lidarr-log" OWNER "app";
recovery:
endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/lidarr2/lidarr2-postgresql-17-cluster
endpointCredentials: lidarr-postgresql-17-cluster-backup-secret
recoveryIndex: 2
backup: backup:
enabled: false enabled: true
endpointURL: https://nyc3.digitaloceanspaces.com endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/lidarr2/lidarr2-postgresql-17-cluster destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/lidarr2/lidarr2-postgresql-17-cluster
endpointCredentials: lidarr-postgresql-17-cluster-backup-secret endpointCredentials: lidarr-postgresql-17-cluster-backup-secret