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

restic: don't try to restore PVBs with no snapshotID #2031

Merged
merged 2 commits into from
Nov 4, 2019

Conversation

skriss
Copy link
Contributor

@skriss skriss commented Nov 1, 2019

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

ref #1998 (comment)

If a PodVolumeBackup doesn't have a snapshotID, we shouldn't try to restore it because there's nothing to restore. This could be the case if the PVB failed, or if it completed but the volume being backed up was empty, so no snapshot was created.

@skriss skriss requested review from carlisia, nrb and prydonius November 1, 2019 16:30
@skriss skriss force-pushed the fix-restic-restore-empty-pvbs branch from 4ba126c to 728930f Compare November 1, 2019 16:45
@skriss
Copy link
Contributor Author

skriss commented Nov 4, 2019

@carlisia @prydonius @nrb I would like to get this bug fix into v1.2 - PTAL when you can!

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.

👍

Copy link
Contributor

@nrb nrb left a comment

Choose a reason for hiding this comment

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

Looks good - did you want to add a changelog note?

Signed-off-by: Steve Kriss <[email protected]>
@skriss
Copy link
Contributor Author

skriss commented Nov 4, 2019

added changelog!

@skriss
Copy link
Contributor Author

skriss commented Nov 4, 2019

merging since it's got 2 approvals.

@skriss skriss merged commit 4fb1bc2 into vmware-tanzu:master Nov 4, 2019
@skriss skriss deleted the fix-restic-restore-empty-pvbs 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.

3 participants