From b298110d5f7ef3a2409d53885e6ee99d5f99034c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 14 Mar 2014 16:31:04 +0100 Subject: [PATCH] backups: list VMs not selected for backup (#801) --- core/backup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/backup.py b/core/backup.py index 205b3cc6..98ccd0ee 100644 --- a/core/backup.py +++ b/core/backup.py @@ -340,6 +340,11 @@ def backup_prepare(vms_list = None, exclude_list = None, s += fmt.format('-') print_callback(s) + vms_not_for_backup = [vm.name for vm in qvm_collection.values() if not vm + .backup_content] + print_callback("VMs not selected for backup: %s" % " ".join( + vms_not_for_backup)) + if (there_are_running_vms): raise QubesException("Please shutdown all VMs before proceeding.")