Re: [qubes-users] emergency backup recovery proedue - how do you tell which "vm" folder is what AppVM

2017-06-21 Thread cubit
21. Jun 2017 19:38 by cu...@tutanota.com:


> I am having to do an emergency backup recovery on my most recent backup 
> as a restore from GUI fails.  
>
>
> I have a lot of AppVM and TemplateVM, 30 in total.   After I extract the 
> backup archive I am presented with a list of folder (vmNN)  one for each VM.  
>  
>
> -rw-rw-r-- 1 user user  93 Jun 14 12:23 backup-header
> -rw-rw-r-- 1 user user 138 Jun 14 12:23 backup-header.hmac
> drwxrwxr-x 2 user user    4096 Jun 21 19:23 dom0-home
> -rw-rw-r-- 1 user user   30752 Jun 14 12:23 qubes.xml.000
> -rw-rw-r-- 1 user user 138 Jun 14 12:23 qubes.xml.000.hmac
> drwxrwxr-x 3 user user    4096 Jun 21 19:10 vm1
> drwxrwxr-x 2 user user    4096 Jun 21 18:45 vm10
> drwxrwxr-x 2 user user    4096 Jun 21 19:02 vm11
> drwxrwxr-x 2 user user    4096 Jun 21 19:10 vm13
> drwxrwxr-x 2 user user    4096 Jun 21 18:40 vm14
> .
>
> Is there a way how do I know what vm number corresponds to an appVM name so I 
> do not have to try restore each vmNN folder to get my files back for just one 
> problem VM.
>







To answer my own question.  from the same directory as the vmNN folders:




   cat qubes.xml.??? | openssl enc -d -pass pass:"my_pass" -aes-256-cbc -out 
qubes.xml 





Then look for the appVM name and the corresponding "qid="













   

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/KnBEpHx--3-0%40tutanota.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] emergency backup recovery proedue - how do you tell which "vm" folder is what AppVM

2017-06-21 Thread cubit
I am having to do an emergency backup recovery on my most recent backup as a 
restore from GUI fails.  


I have a lot of AppVM and TemplateVM, 30 in total.   After I extract the backup 
archive I am presented with a list of folder (vmNN)  one for each VM.   

-rw-rw-r-- 1 user user  93 Jun 14 12:23 backup-header
-rw-rw-r-- 1 user user 138 Jun 14 12:23 backup-header.hmac
drwxrwxr-x 2 user user    4096 Jun 21 19:23 dom0-home
-rw-rw-r-- 1 user user   30752 Jun 14 12:23 qubes.xml.000
-rw-rw-r-- 1 user user 138 Jun 14 12:23 qubes.xml.000.hmac
drwxrwxr-x 3 user user    4096 Jun 21 19:10 vm1
drwxrwxr-x 2 user user    4096 Jun 21 18:45 vm10
drwxrwxr-x 2 user user    4096 Jun 21 19:02 vm11
drwxrwxr-x 2 user user    4096 Jun 21 19:10 vm13
drwxrwxr-x 2 user user    4096 Jun 21 18:40 vm14
.

Is there a way how do I know what vm number corresponds to an appVM name so I 
do not have to try restore each vmNN folder to get my files back for just one 
problem VM.




-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/KnB9KD---3-0%40tutanota.com.
For more options, visit https://groups.google.com/d/optout.