From b026ec31a616e624b3ef1527abb7e48e5abdb509 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 3 Mar 2025 22:15:47 -0600 Subject: [PATCH] enable backups --- clusters/cl01tl/applications/sonarr-4k/values.yaml | 9 ++------- clusters/cl01tl/applications/sonarr-anime/values.yaml | 9 ++------- clusters/cl01tl/applications/sonarr/values.yaml | 9 ++------- 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/clusters/cl01tl/applications/sonarr-4k/values.yaml b/clusters/cl01tl/applications/sonarr-4k/values.yaml index 5f3df8025..dd953e878 100644 --- a/clusters/cl01tl/applications/sonarr-4k/values.yaml +++ b/clusters/cl01tl/applications/sonarr-4k/values.yaml @@ -106,7 +106,7 @@ sonarr-4k: readOnly: false postgres-17-cluster: nameOverride: sonarr4-4k-postgresql-17 - mode: recovery + mode: standalone cluster: walStorage: storageClass: local-path @@ -121,13 +121,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-4k/sonarr4-4k-postgresql-17-cluster - endpointCredentials: sonarr-4k-postgresql-17-cluster-backup-secret - recoveryIndex: 2 backup: - enabled: false + enabled: true endpointURL: https://nyc3.digitaloceanspaces.com destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/sonarr4-4k/sonarr4-4k-postgresql-17-cluster endpointCredentials: sonarr-4k-postgresql-17-cluster-backup-secret diff --git a/clusters/cl01tl/applications/sonarr-anime/values.yaml b/clusters/cl01tl/applications/sonarr-anime/values.yaml index b92f3d441..fdf60902a 100644 --- a/clusters/cl01tl/applications/sonarr-anime/values.yaml +++ b/clusters/cl01tl/applications/sonarr-anime/values.yaml @@ -106,7 +106,7 @@ sonarr-anime: readOnly: false postgres-17-cluster: nameOverride: sonarr4-anime-postgresql-17 - mode: recovery + mode: standalone cluster: walStorage: storageClass: local-path @@ -121,13 +121,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-anime/sonarr4-anime-postgresql-17-cluster - endpointCredentials: sonarr-anime-postgresql-17-cluster-backup-secret - recoveryIndex: 2 backup: - enabled: false + enabled: true endpointURL: https://nyc3.digitaloceanspaces.com destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/sonarr4-anime/sonarr4-anime-postgresql-17-cluster endpointCredentials: sonarr-anime-postgresql-17-cluster-backup-secret diff --git a/clusters/cl01tl/applications/sonarr/values.yaml b/clusters/cl01tl/applications/sonarr/values.yaml index 1483c8bb8..312dc7ed0 100644 --- a/clusters/cl01tl/applications/sonarr/values.yaml +++ b/clusters/cl01tl/applications/sonarr/values.yaml @@ -106,7 +106,7 @@ sonarr: readOnly: false postgres-17-cluster: nameOverride: sonarr4-postgresql-17 - mode: recovery + mode: standalone cluster: walStorage: storageClass: local-path @@ -124,13 +124,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: sonarr-postgresql-17-cluster-backup-secret - recoveryIndex: 2 backup: - enabled: false + enabled: true endpointURL: https://nyc3.digitaloceanspaces.com destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/sonarr4/sonarr4-postgresql-17-cluster endpointCredentials: sonarr-postgresql-17-cluster-backup-secret