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/"