Skip to content

Commit

Permalink
Add a bit more info about paths and containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Commifreak committed Sep 12, 2023
1 parent c0ec308 commit fef9e58
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/scripts/backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
goto end;
}

ABHelper::backupLog("Backing up from: " . implode(', ', $abSettings->allowedSources));

/**
* At this point, we have something to work with.
* Patch the destination for further usage
Expand Down Expand Up @@ -104,6 +106,11 @@
goto continuationForAll;
}

$alSortedContainers = array_column($sortedStopContainers, 'Name');
natsort($alSortedContainers);

ABHelper::backupLog("Selected containers: " . implode(', ', $alSortedContainers));

ABHelper::backupLog("Sorted Stop : " . implode(", ", array_column($sortedStopContainers, 'Name')), ABHelper::LOGLEVEL_DEBUG);
ABHelper::backupLog("Sorted Start: " . implode(", ", array_column($sortedStartContainers, 'Name')), ABHelper::LOGLEVEL_DEBUG);

Expand Down

0 comments on commit fef9e58

Please sign in to comment.