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