From aed6c71997b96f5cbe5cae27b769fc098897d9a3 Mon Sep 17 00:00:00 2001 From: Deniz Erdogan Date: Mon, 2 Sep 2024 16:34:45 +0200 Subject: [PATCH] read from primary sql --- k8s/jobs/singleWikiBackup.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/jobs/singleWikiBackup.yaml b/k8s/jobs/singleWikiBackup.yaml index 0373598ab..89ca0f01e 100644 --- a/k8s/jobs/singleWikiBackup.yaml +++ b/k8s/jobs/singleWikiBackup.yaml @@ -27,7 +27,7 @@ spec: - 'bash' - '-c' - | - mysqldump --host sql-mariadb-secondary.default.svc.cluster.local ${DATABASE_NAME} > /backup/${DATABASE_NAME}.sql + mysqldump --host sql-mariadb-primary.default.svc.cluster.local ${DATABASE_NAME} > /backup/${DATABASE_NAME}.sql volumeMounts: - name: temporary-backup-pvc mountPath: "/backup/"