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

Cannot restore from multiple sessions/backups of same VM [qubes] #212

Open
astingengo opened this issue Jul 31, 2024 · 2 comments
Open

Cannot restore from multiple sessions/backups of same VM [qubes] #212

astingengo opened this issue Jul 31, 2024 · 2 comments

Comments

@astingengo
Copy link

If I'll have just one backup of a VM it will work, but if I'll create multiple backups of the same VM and trying to restore, it will fail
The error is

VMs selected: ubuntu22-04
Traceback (most recent call last):
  File "/usr/local/bin/wyng-util-qubes", line 332, in <module>
    (q_wpriv_wrootmap[target][session][ii],
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
KeyError: 'private'

The command running to restore is:

sudo wyng-util-qubes restore vm --session xxxxxxxx-xxxxxx --dest=qubes://<vm where I'm keeping backups>/location
@tasket
Copy link
Owner

tasket commented Aug 1, 2024

@astingengo From the output of the direct Wyng listing:

wyng list --dest=<location>

How many entries are there for 'ubuntu22-04' private volumes and how many for root?

@astingengo
Copy link
Author

astingengo commented Aug 29, 2024

Appears only one for root and one for private

Late response as I removed all backups and created only one ... but I needed again more than one and it failed again :-(

LE: But if I'll use wyng-util-qubes to list all (--all) sessions it will display two

Using lvs command it will show <vm>-private and private.tick and <vm>-root and root.tick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants