enable backups

This commit is contained in:
2025-02-24 00:16:10 -06:00
parent b8ce933d68
commit 9680262a08

View File

@@ -117,7 +117,7 @@ lidarr2:
- path: /mnt/store - path: /mnt/store
readOnly: false readOnly: false
postgres-17-cluster: postgres-17-cluster:
mode: recovery mode: standalone
cluster: cluster:
walStorage: walStorage:
storageClass: local-path storageClass: local-path
@@ -134,12 +134,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: lidarr2-postgresql-17-cluster-backup-secret
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: lidarr2-postgresql-17-cluster-backup-secret endpointCredentials: lidarr2-postgresql-17-cluster-backup-secret