-
Notifications
You must be signed in to change notification settings - Fork 93
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
[BUG] verify action should catch regression error #617
Labels
Comments
Good catch. It doesn't make sense to verify a "corrupt" repository. |
Thanks for editing in the title, sorry I forgot. A couple follow-up questions related to your answer:
Thank you! |
|
|
I consider it an enhancement but fair enough :-) |
desseim
added a commit
to desseim/rdiff-backup-wrapper-win
that referenced
this issue
May 3, 2022
Mention [the GH issue](<rdiff-backup/rdiff-backup#617>) discussing the appropriateness of using the rdiff-backup `verify` option to check the validity of a destination repository, especially as it suggests a more appropriate solution might be implemented in the future.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug summary
An unexpected error is thrown when verifying a repository to which the last backup has failed.
Version, Python, Operating System
rdiff-backup call
What happened and what did you expect?
Here's the output:
I expected the
--verify
instruction to complete successfully, and possibly return an error about the state of the backup repository needing regression, but not to throw anEOFError
which seems like it isn't expected nor supposed to bubble up to the end user.More information
Adding
-v9
brings no additional information about the error, it only outputs a bunch ofVerified SHA1 digest of <file>
lines before the exception occurs.The last backup to the repository had failed because it was a whole-system-drive backup which had been ran by mistake with unprivileged credentials (non-administrator user).
So basically:
The
verify
command was run right after the failed backup (with administrator privileges though).v2.1.0a1
throws a similar exception:The backups to the repository have been run with
v2.0.5
though.The text was updated successfully, but these errors were encountered: