mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-08-02 11:36:36 -04:00
Use vm123/ with a trailing slash like in the backup-path value
This commit is contained in:
parent
3b550699af
commit
034976f80f
1 changed files with 3 additions and 3 deletions
|
@ -140,13 +140,13 @@ any GNU/Linux system.
|
|||
|
||||
7. Search inside of `qubes.xml` for the `backup-path` property of the qube
|
||||
whose data you wish to restore. Using the value of this property (e.g.
|
||||
`vm123`), untar the necessary data files:
|
||||
`vm123/`), untar the necessary data files:
|
||||
|
||||
[user@restore ~]$ tar -i -xvf qubes-backup-2015-06-05T123456 vm123
|
||||
[user@restore ~]$ tar -i -xvf qubes-backup-2015-06-05T123456 vm123/
|
||||
|
||||
8. Verify and decrypt the backed up data, decompress it, and extract it.
|
||||
|
||||
[user@restore ~]$ find vm123 -name 'private.img.*.enc' | sort -V | while read f_enc; do \
|
||||
[user@restore ~]$ find vm123/ -name 'private.img.*.enc' | sort -V | while read f_enc; do \
|
||||
f_dec=${f_enc%.enc}; \
|
||||
echo "$backup_id!$f_dec!$backup_pass" | scrypt dec -P $f_enc || break; \
|
||||
done | gzip -d | tar -xv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue