From abdad8c2b2063f953a32e3eac7b9ffaf5aae64a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 21 Jul 2017 03:12:23 +0200 Subject: [PATCH] backup: allow backup running VMs Since we have LVM by default, it is possible to backup VMs while they are running. For now it will include its state from before startup, but later we may implement some other logic (a snapshot of running VM). --- qubes/backup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/qubes/backup.py b/qubes/backup.py index ba927386..35a03d92 100644 --- a/qubes/backup.py +++ b/qubes/backup.py @@ -705,8 +705,6 @@ class Backup(object): vm.features['backup-content'] = False for qid, vm_info in files_to_backup.items(): - if qid != 0 and vm_info.vm.is_running(): - raise qubes.exc.QubesVMNotHaltedError(vm_info.vm) # VM is included in the backup backup_app.domains[qid].features['backup-content'] = True backup_app.domains[qid].features['backup-path'] = vm_info.subdir