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

"Verify Backup" function should actually verify the backups #7809

Closed
ddevz opened this issue Oct 7, 2022 · 1 comment
Closed

"Verify Backup" function should actually verify the backups #7809

ddevz opened this issue Oct 7, 2022 · 1 comment
Labels
P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one.

Comments

@ddevz
Copy link

ddevz commented Oct 7, 2022

How to file a helpful issue

Qubes OS release

4.1

Brief summary

The "Verify Backup" function will tell people that all qubes were successfully backed up when some qubes were not successfully backed up.

Note: I do not understand what "Verify Backup" actually does if it's not comparing the hash of each qube in a backup file against hashes that were written at the time of the backup. (maybe it's computing the hash of qubes it can find the recorded hash for, and for qubes that it cant find a hash for it just "skips" those? (note that it knows enough about those qubes without hashes to display them to the screen to say that they backed up fine)

Note: I'm breaking this out as a separate issue. It was originally part of #7567 under the "New Even Larger Concern:" area )

Steps to reproduce

  1. Rig your system to create a error during the backup. (Example: damage a sector of the media where the image that is going to be backed up resides so that it will generate a read error when it tries to be read (like happened in Qubes Backup hangs if there is an I/O error #7567))
  2. Run the backup program and select several qubes, with the qube that will cause the error in the middle of the list
  3. Run the backup and let it hit the error (probably causing it to hang)
  4. Reboot system to make sure the backup is not still running
  5. Run the "restore backup" program, and do a verify

(untested alternative: you might be able to just remove the end of a successful backup, or do a kill -9 to the backup process as it's backing up to accomplish the same thing?)

Expected behavior

I expect the verify to say that several of the qubes were not backed up successfully

Actual behavior

Verify says that all qubes backed up fine

@ddevz ddevz added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels Oct 7, 2022
@andrewdavidwong
Copy link
Member

This appears to be a duplicate of #3498 and/or #6386. If so, please comment on the appropriate existing issue instead. If anyone believes this is not really a duplicate, please leave a comment briefly explaining why. We'll be happy to take another look and, if appropriate, reopen this issue. Thank you.

@andrewdavidwong andrewdavidwong closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2022
@andrewdavidwong andrewdavidwong added the R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one. label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one.
Projects
None yet
Development

No branches or pull requests

2 participants