Skip to content

Commit

Permalink
Also check global exclusions for exclusions in container volumes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Commifreak committed Mar 4, 2024
1 parent 9e2655f commit 1cb9a76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/include/ABHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,11 @@ public static function getContainerVolumes($container, $skipExclusionCheck = fal
self::backupLog("Ignoring '$hostPath' because its listed in containers exclusions list!", self::LOGLEVEL_DEBUG);
continue;
}

if (in_array($hostPath, $abSettings->globalExclusions)) {
self::backupLog("Ignoring '$hostPath' because its listed in global exclusions list!", self::LOGLEVEL_DEBUG);
continue;
}
}

if (!file_exists($hostPath)) {
Expand Down

0 comments on commit 1cb9a76

Please sign in to comment.