enable backups

This commit is contained in:
2025-03-03 22:15:47 -06:00
parent 779b1740cd
commit b026ec31a6
3 changed files with 6 additions and 21 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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