Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go/vt/mysqlctl/xtrabackupengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type XtrabackupEngine struct {

var (
// path where backup engine program is located
xtrabackupEnginePath = flag.String("xtrabackup_root_path", "", "directory location of the xtrabackup executable, e.g., /usr/bin")
xtrabackupEnginePath = flag.String("xtrabackup_root_path", "", "directory location of the xtrabackup and xbstream executables, e.g., /usr/bin")
// flags to pass through to backup phase
xtrabackupBackupFlags = flag.String("xtrabackup_backup_flags", "", "flags to pass to backup command. These should be space separated and will be added to the end of the command")
// flags to pass through to prepare phase of restore
Expand Down Expand Up @@ -580,7 +580,7 @@ func (be *XtrabackupEngine) extractFiles(ctx context.Context, logger logutil.Log

case xbstream:
// now extract the files by running xbstream
xbstreamProgram := xbstream
xbstreamProgram := path.Join(*xtrabackupEnginePath, xbstream)
flagsToExec := []string{"-C", tempDir, "-xv"}
if *xbstreamRestoreFlags != "" {
flagsToExec = append(flagsToExec, strings.Fields(*xbstreamRestoreFlags)...)
Expand Down