Fix postgres backups
This commit is contained in:
parent
d486eca1b3
commit
366a624024
@ -84,12 +84,12 @@ releases:
|
|||||||
values:
|
values:
|
||||||
- postgres/values.yaml
|
- postgres/values.yaml
|
||||||
setString:
|
setString:
|
||||||
- name: multiBackupRepos[1].s3.key
|
- name: pgBackRestConfig.global.repo1-s3-key
|
||||||
value: {{ requiredEnv "HETZNER_S3_ACCESS_KEY" }}
|
value: '{{ requiredEnv "HETZNER_S3_ACCESS_KEY" }}'
|
||||||
- name: multiBackupRepos[1].s3.keySecret
|
- name: pgBackRestConfig.global.repo1-s3-key-secret
|
||||||
value: {{ requiredEnv "HETZNER_S3_ACCESS_SECRET" }}
|
value: '{{ requiredEnv "HETZNER_S3_ACCESS_SECRET" }}'
|
||||||
- name: multiBackupRepos[1].s3.encryptionPassphrase
|
- name: pgBackRestConfig.global.repo1-cipher-pass
|
||||||
value: {{ requiredEnv "PG_BACKREST_PASSWORD" }}
|
value: '{{ requiredEnv "PG_BACKREST_PASSWORD" }}'
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
namespace: datastore
|
namespace: datastore
|
||||||
createNamespace: true
|
createNamespace: true
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
instanceSize: 10Gi
|
instanceSize: 50Gi
|
||||||
|
|
||||||
patroni:
|
patroni:
|
||||||
dynamicConfiguration:
|
dynamicConfiguration:
|
||||||
@ -27,10 +27,19 @@ users:
|
|||||||
- immich
|
- immich
|
||||||
options: "LOGIN"
|
options: "LOGIN"
|
||||||
|
|
||||||
multiBackupRepos:
|
|
||||||
- volume:
|
pgBackRestConfig:
|
||||||
backupsSize: 10Gi
|
global:
|
||||||
- s3:
|
repo1-path: /pgbackrest/datastore/postgres/repo1
|
||||||
|
repo1-retention-full: "10"
|
||||||
|
repo1-retention-full-type: count
|
||||||
|
|
||||||
|
repos:
|
||||||
|
- name: repo1
|
||||||
|
s3:
|
||||||
bucket: fog
|
bucket: fog
|
||||||
endpoint: hel1.your-objectstorage.com
|
endpoint: hel1.your-objectstorage.com
|
||||||
region: hel1
|
region: hel1
|
||||||
|
schedules:
|
||||||
|
full: "0 1 * * 0"
|
||||||
|
differential: "0 1 * * 1-6"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user