Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-backup-restore fails with "[Errno 2] No such file or directory" #3278
Comments
andrewdavidwong
added
bug
C: core
P: blocker
labels
Nov 3, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Nov 3, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Nov 3, 2017
Member
I kept trying progressively older backups until I was able to restore successfully from a two-month-old backup. So, this probably started happening sometime in the last two months.
|
I kept trying progressively older backups until I was able to restore successfully from a two-month-old backup. So, this probably started happening sometime in the last two months. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Dec 17, 2017
@andrewdavidwong - Are you able to restore the newer archives using the emergency manual procedure?
tasket
commented
Dec 17, 2017
|
@andrewdavidwong - Are you able to restore the newer archives using the emergency manual procedure? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Dec 17, 2017
Member
@tasket: Sorry, I'm not comfortable using the emergency manual procedure on those backups in a non-emergency situation. My decryption passphrase and the backup data are too sensitive to expose in a domU, even a fresh or disposable one. There's a non-zero increase in risk to the manual procedure relative to using qvm-backup-restore that I'm not willing to take for this purpose. I tried reproducing the issue with a non-sensitive test VM but was unable to do so. If others are also unable to reproduce the issue, we can close it.
|
@tasket: Sorry, I'm not comfortable using the emergency manual procedure on those backups in a non-emergency situation. My decryption passphrase and the backup data are too sensitive to expose in a domU, even a fresh or disposable one. There's a non-zero increase in risk to the manual procedure relative to using |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Dec 17, 2017
@andrewdavidwong - I don't have a 3.2 system to test with at the moment. You may want to leave this issue open and post about it in qubes-users to see if others recognize the problem or can test it.
tasket
commented
Dec 17, 2017
|
@andrewdavidwong - I don't have a 3.2 system to test with at the moment. You may want to leave this issue open and post about it in qubes-users to see if others recognize the problem or can test it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
bargulg
Feb 1, 2018
I might have the same issue... backup from qubes 3.2, verification in qubes passed, and now an emergency manual restore doesn't work.
Integrity check of each file passed, but when I try to decrypt, I get this:
bad decrypt 140173445084992:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:569:
I'm really sure there's no typo in password - checked like 20 times, and the same password works when verifying hashes.
bargulg
commented
Feb 1, 2018
|
I might have the same issue... backup from qubes 3.2, verification in qubes passed, and now an emergency manual restore doesn't work. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Polygonbugs
Feb 11, 2018
I experienced same issue @andrewdavidwong. Though your case was AppVM but mine was customized fedora-26-minimal template. There was no choice but to throw away that template.
That is the reason I changed my plan to backup one by one. I'm not sure I can reproduce this issue either... Maybe big size VMs make problem?
Polygonbugs
commented
Feb 11, 2018
•
|
I experienced same issue @andrewdavidwong. Though your case was AppVM but mine was customized fedora-26-minimal template. There was no choice but to throw away that template. That is the reason I changed my plan to backup one by one. I'm not sure I can reproduce this issue either... Maybe big size VMs make problem? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 14, 2018
Member
Do you see anything weird in file sizes? Maybe some parts are truncated (out of disk space somewhere in the process)?
|
Do you see anything weird in file sizes? Maybe some parts are truncated (out of disk space somewhere in the process)? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Polygonbugs
Feb 14, 2018
I backed up multiple template-VMs in one backup so I don't know whether there was a irregular small size backup was existed or not. But I remember another template was restored with very small size below 1GB(I didn't compressed because I used Gui tool for backing up)? I could make VMs based on this template but I couldn't start VMs...
Also after changed plan to backup one VM by one backup file via Qubes Manager, I saw that some of backup files were backed up smaller than usual and there was no weird log while its process.
Polygonbugs
commented
Feb 14, 2018
•
|
I backed up multiple template-VMs in one backup so I don't know whether there was a irregular small size backup was existed or not. But I remember another template was restored with very small size below 1GB(I didn't compressed because I used Gui tool for backing up)? I could make VMs based on this template but I couldn't start VMs... Also after changed plan to backup one VM by one backup file via Qubes Manager, I saw that some of backup files were backed up smaller than usual and there was no weird log while its process. |
andrewdavidwong commentedNov 3, 2017
•
edited
Edited 2 times
-
andrewdavidwong
edited Nov 3, 2017 (most recent)
-
andrewdavidwong
edited Nov 3, 2017
Qubes OS version:
R3.2Steps to reproduce the behavior:
my-appvmwith the following options:qvm-backup-restore --verify-only [...]to verify that the backup is good. The verify-only restore succeeds without any problems.my-appvm:The same error occurs with both Qubes Manager and
qvm-backup-restoreon the CLI.This only affects some of my VMs, not all of them. But it completely prevents restoring backups of the affected VMs, even from backups made at different points in time.