From 1107adf9d477f54cd70bc946c4e8478467135b69 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sat, 16 Nov 2024 13:19:17 +0100 Subject: [PATCH] configure backups for openproject db --- openproject/db.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/openproject/db.yaml b/openproject/db.yaml index 661b3c1..42a7d89 100644 --- a/openproject/db.yaml +++ b/openproject/db.yaml @@ -7,3 +7,17 @@ spec: instances: 3 storage: size: 1Gi + backup: + barmanObjectStore: + destinationPath: "s3://openproject/backups" + endpointURL: "https://fsn1.your-objectstorage.com" + s3Credentials: + accessKeyId: + name: openproject-secret + key: OPENPROJECT_FOG_CREDENTIALS_AWS__ACCESS__KEY__ID + secretAccessKey: + name: openproject-secret + key: OPENPROJECT_FOG_CREDENTIALS_AWS__SECRET__ACCESS__KEY + wal: + compression: gzip + retentionPolicy: "30d"