-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Restore Backup failings #6227
Comments
You omitted the steps to reproduce, which makes certain details unclear. Please provide the exact steps you performed.
I wonder if it might be due to the printer device assigned to this VM (similar to #6083, perhaps). Were the backup and restore done on the exact same hardware?
Yes, there is one. In the restore GUI, it's called "Verify backup integrity, do not restore the data". |
Not sure what say here, it was a full Qubes OS Backup that i used that lead to this problem. The Backup was taken with r4.0.3 kernel-latest Qubes OS two weeks ago.
Same PC, only change in hardware is from 500GB ssd to an 500GB nvme drive.
It would be great if this was a default option to use right after writing the backup. Somehow i was under the impression a verify was being done with each backup. |
There's an open issue for this: #1454 |
Used a previous Backup and was able to restore the debian-10-printer-dvm template, worked like a charm.
Thank you. |
[I edited this post and removed several others to condense the information and spare you my ramblings.] I see same issue "b'scrypt:Passphrase is incorrect" when migrating to another machine.
So this is all efforts trying to move this HVM from the one to the other machine:
|
If your systems are lvm based (the default) this might be a workable alternative: https://github.com/tasket/wyng-backup B |
Thanks @brendanhoar , I need help with that... https://qubes-os.discourse.group/t/how-to-use-wyng-backup/4166 |
source: ThinkPad P51 (UEFI) running R4.0.4 In summary:
Conclusion:
The backup consists of 1061 chunks for root, 1 for private and 1 for firewall (seen when restoring with --verbose on source machine). |
@SvenSemmler You could try running a quick |
Hi @tasket thank you for the hint -- the md5 sums match on source and target machine. |
For future reference: |
@SvenSemmler you may be hitting #4791 - running out of space in /var/tmp in dom0 during restore process. It is fixed in R4.1, but not in R4.0. Fully backporting the fix is tricky (but not impossible), but if you care about restoring from a backup archive that is transferred into dom0 already, you can try manually applying this change to |
@marmarek thank you. I saw the remains in /var/tmp/restore* and cleaned them out before each new try. Also the target machine has a 2TB SSD and currently less than 20% are used. If you think it makes sense anyway, I can apply the change and retry (for debugging purposes). I was able to move the qube using the dd method @tasket pointed out, but I am happy to keep debugging this. My next step is to backup some qubes on the target machine and do a verify to see if the issue has something to do with the original backup originating on another machine. If there are any other experiments or investigations that could help track this down, please let me know. |
TLDR: I no longer think this is a bug in Qubes OS rather than a specific hardware issue with my new computer. I will continue to debug and try and find the issue, but I will do so in the forum and not here. I am OK with this bug being closed (although I am not the original reporter). Backup/Verify off all qubes on the old machine: no issue Conclusion: hardware issue. I plan to exchange the CPU within a week anyway. Also suspect it could be RAM. SSD seems less likely but is a distant third possible root cause. I will ask in the forum for ways to debug/check on this. Thank you for your attention and help. |
Given that @jimi3 said he unable to reproduce this (#6227 (comment)) and @SvenSemmler has concluded that he is not actually experiencing the bug reported here, I'm closing this for now as "cannot reproduce." If you believe this is a mistake, or if anyone can reproduce the issue, please leave a comment, and we'll be happy to reopen this. Thank you. |
@andrewdavidwong in case you want to update labels .... final update from my side to benefit future readers of this issue: the "b'scrypt:Passphrase is incorrect" was caused by the CPU in the target machine. I do not know whether it was a hardware issue or a software issue with this particular CPU (i7-3520M). After exchanging it (with i7-3740QM) I repeated all experiments outlined above with multiple media and computers. The issue gone. |
I wonder if this was actually a duplicate of #4493. |
Qubes OS version
R4.0.3 & R4.0.4rc1
Affected component(s) or functionality
Restore Backup
Brief summary
failed to decrypt /var/tmp/restorej3aq3bth/vm37/root.img.001.enc:b'scrypt:Passphrase is incorrect\n
Partially restored files left in /var/tmp/restore*,investigate them and/or clean them up_
How Reproducible
not sure
Expected behavior
Restore with Users generated AppVM content if Passphrase is correct
Actual behavior
Partially restored with Users generated AppVM content and wrongly message User that Passphrase is incorrect.
Additional context
Verify backup function?
Solutions you've tried
fresh new installs of r4.0.3 & r4.0.04rc1, kernel-latest
The text was updated successfully, but these errors were encountered: