Skip to content

Commit

Permalink
Add mysqlbinlog to $VTROOT/bin in backup pods
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Jul 12, 2024
1 parent 34b93ad commit ce28c33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/operator/vttablet/vtbackup_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit ce28c33

Please sign in to comment.