chore: Update manifests after change

This commit is contained in:
2025-12-20 22:34:18 +00:00
parent 9bc772eb1b
commit 4f2820c706

View File

@@ -19,13 +19,13 @@ data:
echo " ";
echo ">> Configured Date Range is $(date -u -d @${DATE_RANGE_SECONDS} +"%j days, %H hours, %M minutes")";
echo ">> Backups prior to '$DATE_RANGE' will be removed";
echo " ";
echo ">> Backups to be removed:";
$FILES=$(s3cmd ls --no-check-certificate ${BUCKET}/cl01tl/etcd/ |
FILES=$(s3cmd ls --no-check-certificate ${BUCKET}/cl01tl/etcd/ |
awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}');
echo "$FILES"
if [ -n "${FILES}" ]; then
echo " ";
echo ">> Backups to be removed:";
echo "$FILES"
echo " ";
echo ">> Deleting ...";
$FILES | while read file; do
@@ -35,6 +35,9 @@ data:
echo ">> Detected error, will send message to ntfy";
fi;
done;
else
echo " ";
echo ">> No backups remove";
fi;
if [ "$ERROR" = "true" ]; then