verify-only avoid dom0 handler
This commit is contained in:
parent
f86c640d65
commit
d84423b0b2
@ -1775,7 +1775,8 @@ class BackupRestore(object):
|
||||
restore_info['dom0'].good_to_go:
|
||||
vms_dirs.append(os.path.dirname(restore_info['dom0'].subdir))
|
||||
vms_size += restore_info['dom0'].size
|
||||
handlers[restore_info['dom0'].subdir] = (self._handle_dom0, None)
|
||||
if not self.options.verify_only:
|
||||
handlers[restore_info['dom0'].subdir] = (self._handle_dom0, None)
|
||||
try:
|
||||
self._restore_vm_data(vms_dirs=vms_dirs, vms_size=vms_size,
|
||||
handlers=handlers)
|
||||
|
Loading…
Reference in New Issue
Block a user