Skip to content

PBM-1483: Fix no such file error during physical restore #1145

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

boris-ilijic
Copy link
Member

PR is the improvement for #1120.

When working with FS storage, PBM will occasionally logs following entry:

Starting restore 2025-06-06T17:27:12.565119675Z from '2025-06-05T16:57:35Z'.Error: get metadata: parse physical restore status: get files: getting file info: lstat /opt/backups/pbm/.pbm.restore/2025-06-06T17:27:12.565119675Z/rs.rs1/rs.hb.tmp: no such file or directory

This improvement just silently ignores that type of situation.

@boris-ilijic boris-ilijic requested a review from veceraj as a code owner June 9, 2025 10:09
@boris-ilijic boris-ilijic merged commit 8634aff into dev Jun 10, 2025
23 checks passed
@boris-ilijic boris-ilijic deleted the PBM-1483-improve-getting-file-info-err branch June 10, 2025 07:46
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.

2 participants