adding changes on top of merge
@@ -79,6 +79,12 @@ class FreezeSnapshotter(object):
self.takeSnapshotFrom = snapshotMethodConfigValue
else:
self.takeSnapshotFrom = customSettings['takeSnapshotFrom']
+
+ if(para_parser.includedDisks != None and CommonVariables.isAnyDiskExcluded in para_parser.includedDisks.keys()):
+ if (para_parser.includedDisks[CommonVariables.isAnyDiskExcluded] == True):
+ self.logger.log('Some disks are excluded from backup. Setting the snapshot mode to onlyGuest.')
+ self.takeSnapshotFrom = CommonVariables.onlyGuest
+
self.isManaged = customSettings['isManagedVm']
if( "backupTaskId" in customSettings.keys()):
self.taskId = customSettings["backupTaskId"]
