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

add --allow-partially-failed flag to velero restore create #1994

Merged
merged 4 commits into from
Oct 24, 2019

Conversation

skriss
Copy link
Contributor

@skriss skriss commented Oct 24, 2019

Signed-off-by: Steve Kriss [email protected]

Closes #1858

cc @carlisia @prydonius

I've manually tested this and it works as expected for me - if the new flag is not specified, the most recent completed backup is restored; if it is specified, a more recent PartiallyFailed backup gets selected.

Not convinced this is the right long-term solution but it solves a user pain-point now.

@skriss skriss force-pushed the restore-allow-partially-failed branch from 176a6a8 to 0dab677 Compare October 24, 2019 18:51
Signed-off-by: Steve Kriss <[email protected]>
@skriss skriss force-pushed the restore-allow-partially-failed branch from 3ccda01 to 23e446f Compare October 24, 2019 19:01
Copy link
Contributor

@carlisia carlisia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 perfect.

Copy link
Contributor

@prydonius prydonius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

pkg/cmd/cli/restore/create.go Show resolved Hide resolved
Signed-off-by: Steve Kriss <[email protected]>
@prydonius
Copy link
Contributor

this is good to merge then travis passes

@prydonius prydonius merged commit 0c1fc81 into vmware-tanzu:master Oct 24, 2019
@skriss skriss deleted the restore-allow-partially-failed branch November 5, 2019 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Partially Failed backups are unable to be restored from when using --from-schedule flag
3 participants