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 upUnable to restore in R3.0 backup of VMs made in R2 #1124
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
wyory
Aug 22, 2015
I had the same problem: https://groups.google.com/d/msg/qubes-devel/ZjFlqD2uKjM/I_kV7whKCQAJ
I started following the manual rescue procedure described here:
https://www.qubes-os.org/doc/BackupEmergencyRestoreV3/
I verified the integrity of the backup-header. Then I noticed that the
time names of the archive seem a bit off. Some read like this:
vm38/private.img.000
vm38/private.img.000.hmac
vm38/icon.png.000
vm38/icon.png.000.hmac
vm38/apps.templates.000
vm38/apps.templates.000.hmac
vm38/root.img.000
vm38/root.img.000.hmac
vm38/root.img.001
vm38/root.img.001.hmac
But others read like this:
vm25/..000
vm25/..000.hmac
vm25/..001
vm25/..001.hmac
vm25/..002
vm25/..002.hmac
vm25/..003
vm25/..003.hmac
vm25/..004
vm25/..004.hmac
Could this be causing the error?
wyory
commented
Aug 22, 2015
|
I had the same problem: https://groups.google.com/d/msg/qubes-devel/ZjFlqD2uKjM/I_kV7whKCQAJ I started following the manual rescue procedure described here: I verified the integrity of the backup-header. Then I noticed that the vm38/private.img.000 But others read like this: vm25/..000 Could this be causing the error? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 26, 2015
Member
On Sat, Aug 22, 2015 at 12:38:22PM -0700, wyory wrote:
I had the same problem: https://groups.google.com/d/msg/qubes-devel/ZjFlqD2uKjM/I_kV7whKCQAJ
I started following the manual rescue procedure described here:
https://www.qubes-os.org/doc/BackupEmergencyRestoreV3/I verified the integrity of the backup-header. Then I noticed that the
time names of the archive seem a bit off. Some read like this:vm38/private.img.000
vm38/private.img.000.hmac
vm38/icon.png.000
vm38/icon.png.000.hmac
vm38/apps.templates.000
vm38/apps.templates.000.hmac
vm38/root.img.000
vm38/root.img.000.hmac
vm38/root.img.001
vm38/root.img.001.hmacBut others read like this:
vm25/..000
vm25/..000.hmac
vm25/..001
vm25/..001.hmac
vm25/..002
vm25/..002.hmac
vm25/..003
vm25/..003.hmac
vm25/..004
vm25/..004.hmacCould this be causing the error?
This is ok - some VMs (namely: templates) have the whole VM directory
backed up ("."), not only selected files ("private.img", "icon.png",
etc).
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
On Sat, Aug 22, 2015 at 12:38:22PM -0700, wyory wrote:
This is ok - some VMs (namely: templates) have the whole VM directory Best Regards, |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 26, 2015
Member
On Sat, Aug 15, 2015 at 11:13:49PM -0700, dncohen wrote:
File "/usr/lib64/python2.7/site-packages/qubes/backup.py", line 1784, in backup_restore_prepare
backup_collection.load()
File "/usr/lib64/python2.7/site-packages/qubes/qubes.py", line 813, in load
vm = vm_class(xml_element=element, collection=self)
File "/usr/lib64/python2.7/site-packages/qubes/modules/01QubesDisposableVm.py", line 100, in init
super(QubesDisposableVm, self).init(**kwargs)
DisposableVM included in the backup? Strange...
Could you post qubes.xml from that backup? It is probably left in
/var/tmp/restore_*/. If you're not comfortable with posting full list
of your VMs, just get the line starting with "<QubesDisposableVm".
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
On Sat, Aug 15, 2015 at 11:13:49PM -0700, dncohen wrote:
DisposableVM included in the backup? Strange... Could you post Best Regards, |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
wyory
Aug 28, 2015
Marek Marczykowski-Górecki:
On Sat, Aug 15, 2015 at 11:13:49PM -0700, dncohen wrote:
File "/usr/lib64/python2.7/site-packages/qubes/backup.py", line 1784, in backup_restore_prepare
backup_collection.load()
File "/usr/lib64/python2.7/site-packages/qubes/qubes.py", line 813, in load
vm = vm_class(xml_element=element, collection=self)
File "/usr/lib64/python2.7/site-packages/qubes/modules/01QubesDisposableVm.py", line 100, in init
super(QubesDisposableVm, self).init(**kwargs)DisposableVM included in the backup? Strange...
Could you post
qubes.xmlfrom that backup? It is probably left in
/var/tmp/restore_*/. If you're not comfortable with posting full list
of your VMs, just get the line starting with "<QubesDisposableVm".
I also have reference to disposable VM in my error message:
line: super(QubesDisposableVm, self).init(**kwargs)
func: init
line no.: 100
file:
/usr/lib64/python2.7/site-packages/qubes/modules/01QubesDisposableVm.py
I found qubes.xml.000 in my backup file, but when I try to open it with
less or vi, it's in binary. How do I find the line your refer to? Is it
just gzip or something?
wyory
commented
Aug 28, 2015
|
Marek Marczykowski-Górecki:
I also have reference to disposable VM in my error message: line: super(QubesDisposableVm, self).init(**kwargs) I found qubes.xml.000 in my backup file, but when I try to open it with |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 28, 2015
Member
On Thu, Aug 27, 2015 at 10:54:29PM -0700, wyory wrote:
I found qubes.xml.000 in my backup file, but when I try to open it with
less or vi, it's in binary. How do I find the line your refer to? Is it
just gzip or something?
It is encrypted, the same as the other files. See emergency restore
instruction - step 5 and 6.
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
On Thu, Aug 27, 2015 at 10:54:29PM -0700, wyory wrote:
It is encrypted, the same as the other files. See emergency restore Best Regards, |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
wyory
Aug 30, 2015
Marek Marczykowski-Górecki:
On Thu, Aug 27, 2015 at 10:54:29PM -0700, wyory wrote:
I found qubes.xml.000 in my backup file, but when I try to open it with
less or vi, it's in binary. How do I find the line your refer to? Is it
just gzip or something?It is encrypted, the same as the other files. See emergency restore
instruction - step 5 and 6.
Thanks. Here are the lines starting with "<QubesDisposableVM"
wyory
commented
Aug 30, 2015
|
Marek Marczykowski-Górecki:
Thanks. Here are the lines starting with "<QubesDisposableVM"
|
marmarek
added
bug
C: core
P: critical
labels
Sep 2, 2015
marmarek
added this to the Release 3.0 milestone
Sep 2, 2015
marmarek
closed this
in
marmarek/old-qubes-core-admin@76bddaa
Sep 4, 2015
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Sep 4, 2015
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Sep 4, 2015
added a commit
to marmarek/old-qubes-core-admin-linux
that referenced
this issue
Sep 4, 2015
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Sep 5, 2015
marmarek
referenced this issue
in marmarek/old-qubes-core-admin
Sep 5, 2015
Merged
backup: fix R2B3 and older backup restore (#1124) #4
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Oct 2, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Chilinot
Jul 13, 2016
I'm still encountering this issue on release 3.1, as well as on release candidate 3.2.
EDIT: My bad, not the exact same error output; but similar. I will create a new issue.
Chilinot
commented
Jul 13, 2016
•
|
I'm still encountering this issue on release 3.1, as well as on release candidate 3.2. EDIT: My bad, not the exact same error output; but similar. I will create a new issue. |
dncohen commentedAug 16, 2015
I've created a backup of several VMs in Qubes 2, and I'm trying to restore those backups to Qubes R3.0 rc2. If I understand correctly, this is the proper way to upgrade from R2 to R3.0.
However, I run into the error shown below. I get this error whether I use the command line (shown) or the Qubes VM Manager gui.