From 1558c51a5d8868f42c4422e0e2495fdf9191c106 Mon Sep 17 00:00:00 2001 From: "L.Dongming" Date: Mon, 23 Oct 2023 21:05:18 +0800 Subject: [PATCH] fix: fix oracle-mysql backup actionSet (#5594) (cherry picked from commit b230b1a758bd9c6d0201c5723d7bd98fca7419d4) --- deploy/oracle-mysql/templates/actionset-xtrabackup.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/oracle-mysql/templates/actionset-xtrabackup.yaml b/deploy/oracle-mysql/templates/actionset-xtrabackup.yaml index db5ccdc1fde..dc4afe2cac1 100644 --- a/deploy/oracle-mysql/templates/actionset-xtrabackup.yaml +++ b/deploy/oracle-mysql/templates/actionset-xtrabackup.yaml @@ -9,18 +9,18 @@ spec: backupType: Full env: - name: DATA_DIR - value: /var/lib/mysql + value: {{ .Values.dataMountPath }} backup: preBackup: [] postBackup: [] backupData: image: docker.io/perconalab/percona-xtrabackup:8.0.32 - runOnTargetPodNode: false + runOnTargetPodNode: true command: - bash - -c - | - {{- .Files.Get "dataprotection/bakcup.sh" | nindent 8 }} + {{- .Files.Get "dataprotection/backup.sh" | nindent 8 }} syncProgress: enabled: true intervalSeconds: 5