Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBM-1338: Restore Start/Finish time for describe-restore command #1005

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

boris-ilijic
Copy link
Member

@boris-ilijic boris-ilijic commented Sep 3, 2024

PR for https://perconadev.atlassian.net/browse/PBM-1338

start and finish fields display restore start and finish time. Field finish is displayed only in case of successfully finished restore (status: done).

$ pbm describe-restore 2024-09-03T07:48:59.389263417Z

name: "2024-09-03T07:48:59.389263417Z"
opid: 66d6bf6b4134f541bae6f571
backup: "2024-09-03T07:37:16Z"
type: logical
status: done
start: "2024-09-03T07:48:59Z"
finish: "2024-09-03T07:50:06Z"
last_transition_time: "2024-09-03T07:50:06Z"
replsets:
  - ...

StartPITR field is used only for the purpose of oplog-replay command.
Command describe-restore does not address oplog-replay operation, and
therefore this info is removed.
@boris-ilijic boris-ilijic marked this pull request as ready for review September 3, 2024 10:27
@defbin defbin added this to the next milestone Sep 5, 2024
@defbin defbin added the bugfix label Sep 5, 2024
@boris-ilijic boris-ilijic merged commit d18cc83 into dev Sep 5, 2024
25 checks passed
@boris-ilijic boris-ilijic deleted the PBM-1338-add-restore-finished-time branch September 5, 2024 07:32
defbin pushed a commit that referenced this pull request Sep 9, 2024
…1005)

* Add restore start and finish time info
* Fix help text for oplog-replay command
* Remove StartPITR info from describe-restore cmd
* Add finish time only for successful restore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants