From ce28c33207d95a0e3f0843108eb155dd64f3bd3d Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Fri, 12 Jul 2024 14:17:48 -0400 Subject: [PATCH] Add mysqlbinlog to $VTROOT/bin in backup pods Signed-off-by: Matt Lord --- pkg/operator/vttablet/vtbackup_pod.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/operator/vttablet/vtbackup_pod.go b/pkg/operator/vttablet/vtbackup_pod.go index 1f5a5ec9..4bcb3007 100644 --- a/pkg/operator/vttablet/vtbackup_pod.go +++ b/pkg/operator/vttablet/vtbackup_pod.go @@ -35,6 +35,7 @@ const ( vtbackupInitScript = `set -ex mkdir -p /mnt/vt/bin cp --no-clobber /vt/bin/vtbackup /mnt/vt/bin/ +cp --no-clobber /usr/bin/mysqlbinlog /mnt/vt/bin/ mkdir -p /mnt/vt/config if [[ -d /vt/config/mycnf ]]; then cp --no-clobber -R /vt/config/mycnf /mnt/vt/config/