Skip to content

Commit ce28c33

Browse files
committed
Add mysqlbinlog to $VTROOT/bin in backup pods
Signed-off-by: Matt Lord <[email protected]>
1 parent 34b93ad commit ce28c33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/operator/vttablet/vtbackup_pod.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const (
3535
vtbackupInitScript = `set -ex
3636
mkdir -p /mnt/vt/bin
3737
cp --no-clobber /vt/bin/vtbackup /mnt/vt/bin/
38+
cp --no-clobber /usr/bin/mysqlbinlog /mnt/vt/bin/
3839
mkdir -p /mnt/vt/config
3940
if [[ -d /vt/config/mycnf ]]; then
4041
cp --no-clobber -R /vt/config/mycnf /mnt/vt/config/

0 commit comments

Comments
 (0)