diff --git a/dom0/qvm-core/qubesutils.py b/dom0/qvm-core/qubesutils.py index 4c2456ba..4ac6d470 100644 --- a/dom0/qvm-core/qubesutils.py +++ b/dom0/qvm-core/qubesutils.py @@ -616,7 +616,7 @@ def backup_restore_prepare(backup_dir, options = {}, host_collection = None): vms_to_restore[vm.name]['already-exists'] = True vms_to_restore[vm.name]['good-to-go'] = False - if vm.template_vm is not None: + if vm.template_vm is None: vms_to_restore[vm.name]['template'] = None else: templatevm_name = find_template_name(vm.template_vm.name, options['replace-template'])