Add backup to nextcloud. Tricks load order I hope.

This commit is contained in:
j 2025-07-10 22:25:17 +10:00
parent bf0abb8f51
commit eaff825682

View file

@ -103,6 +103,26 @@ spec:
storage:
size: 5Gi
---
apiVersion: k8s.mariadb.com/v1alpha1
kind: Backup
metadata:
name: backup-local
namespace: home-server
spec:
mariaDbRef:
name: nextcloud-db
schedule:
cron: "0 1 * * *"
maxRetention: 168h
volumeMounts:
- mountPath: /backups
name: backup-volume
volumes:
- name: backup-volume
hostPath:
path: /dpool/backups/mariadb
type: DirectoryOrCreate
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata: