From 4d41fe1eab3c19fdad93556a12f63b211962321a Mon Sep 17 00:00:00 2001 From: Yassine Ilmi Date: Sun, 6 May 2018 13:00:31 +0100 Subject: [PATCH 1/2] Multiple VM's backup note Added note to help find the id for a VM in a multiple VM backup file and extract only required files --- common-tasks/backup-emergency-restore-v4.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common-tasks/backup-emergency-restore-v4.md b/common-tasks/backup-emergency-restore-v4.md index 3b94a75a..98537c1c 100644 --- a/common-tasks/backup-emergency-restore-v4.md +++ b/common-tasks/backup-emergency-restore-v4.md @@ -39,6 +39,8 @@ The Qubes backup system has been designed with emergency disaster recovery in mi vm1/whitelisted-appmenus.list.000.enc dom0-home/dom0user.000.enc + **Note:** For backups with multiple VM, find the VM <-> id correspondence in `qubes.xml.000.enc`, extract required files `tar -i -xvf qubes-backup-2015-06-05T123456 backup-header backup-header.hmac vm1/`. + 3. Set backup passhprase environment variable. While this isn't strictly required, it will be handy later and will avoid saving the passphrase into shell history. read backup_pass From bd7750cee3b9485ad764a5ece31cc3193063e830 Mon Sep 17 00:00:00 2001 From: Yassine Ilmi Date: Sun, 6 May 2018 18:52:06 +0100 Subject: [PATCH 2/2] Extract single vm from backup Rephrashed --- common-tasks/backup-emergency-restore-v4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common-tasks/backup-emergency-restore-v4.md b/common-tasks/backup-emergency-restore-v4.md index 98537c1c..9a83e3ba 100644 --- a/common-tasks/backup-emergency-restore-v4.md +++ b/common-tasks/backup-emergency-restore-v4.md @@ -39,7 +39,7 @@ The Qubes backup system has been designed with emergency disaster recovery in mi vm1/whitelisted-appmenus.list.000.enc dom0-home/dom0user.000.enc - **Note:** For backups with multiple VM, find the VM <-> id correspondence in `qubes.xml.000.enc`, extract required files `tar -i -xvf qubes-backup-2015-06-05T123456 backup-header backup-header.hmac vm1/`. + **Note:** Each VM in the backup file has its path listed in `qubes.xml.000.enc` (search for the `backup-path` property). You can extract only the files necessary for your VM (vmX) with `tar -i -xvf qubes-backup-2015-06-05T123456 backup-header backup-header.hmac vmX/`. 3. Set backup passhprase environment variable. While this isn't strictly required, it will be handy later and will avoid saving the passphrase into shell history.