Skip to content

Commit 1cb9a76

Browse files
committed
Also check global exclusions for exclusions in container volumes.
1 parent 9e2655f commit 1cb9a76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/include/ABHelper.php

+5
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,11 @@ public static function getContainerVolumes($container, $skipExclusionCheck = fal
518518
self::backupLog("Ignoring '$hostPath' because its listed in containers exclusions list!", self::LOGLEVEL_DEBUG);
519519
continue;
520520
}
521+
522+
if (in_array($hostPath, $abSettings->globalExclusions)) {
523+
self::backupLog("Ignoring '$hostPath' because its listed in global exclusions list!", self::LOGLEVEL_DEBUG);
524+
continue;
525+
}
521526
}
522527

523528
if (!file_exists($hostPath)) {

0 commit comments

Comments
 (0)