Skip to content

Commit

Permalink
Revert "fix external restore"
Browse files Browse the repository at this point in the history
This reverts commit 7a53d06.
  • Loading branch information
defbin committed Jun 13, 2024
1 parent 7a53d06 commit e189b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/pbm-agent/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ func (a *Agent) Restore(ctx context.Context, r *ctrl.RestoreCmd, opid ctrl.OPID,
return
}
bcpType = bcp.Type
r.BackupName = bcp.Name
}

l.Info("recovery started")
Expand Down Expand Up @@ -430,6 +429,7 @@ func (a *Agent) Restore(ctx context.Context, r *ctrl.RestoreCmd, opid ctrl.OPID,
return
}

r.BackupName = bcp.Name
err = rstr.Snapshot(ctx, r, r.OplogTS, opid, l, a.closeCMD, a.HbPause)
}
if err != nil {
Expand Down

0 comments on commit e189b5b

Please sign in to comment.