From 7e53160afec9dcee99e5bc7942de71a9011eeadf Mon Sep 17 00:00:00 2001 From: j Date: Thu, 10 Jul 2025 22:09:22 +1000 Subject: [PATCH] Use host path because im fucking lazy --- deployments/mariadb/backups.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/deployments/mariadb/backups.yaml b/deployments/mariadb/backups.yaml index 68ef364..48fd101 100644 --- a/deployments/mariadb/backups.yaml +++ b/deployments/mariadb/backups.yaml @@ -28,16 +28,19 @@ spec: apiVersion: k8s.mariadb.com/v1alpha1 kind: Backup metadata: - name: backup-scheduled + name: backup-local namespace: home-server spec: mariaDbRef: name: nextcloud-db schedule: cron: "0 1 * * *" - suspend: false maxRetention: 168h - storage: - persistentVolumeClaim: - claimName: mariadb-backup-pvc - logLevel: info + volumeMounts: + - mountPath: /backups + name: backup-volume + volumes: + - name: backup-volume + hostPath: + path: /dpool/backups/mariadb + type: DirectoryOrCreate