Fix backup container restart issue

This commit is contained in:
Deckard
2025-10-12 02:57:50 -04:00
parent 7d77a1a056
commit a8b612109e

View File

@@ -4,7 +4,8 @@ set -e
echo "🔧 Starting enhanced backup service with hourly and daily schedules..." echo "🔧 Starting enhanced backup service with hourly and daily schedules..."
# Install curl if not available (handle different package managers) # Install curl if not available (handle different package managers)
microdnf install -y curl || yum install -y curl || apt-get update && apt-get install -y curl # NOTE: curl is already available in mysql:8.0 base image, commenting out to fix operator precedence issue
# microdnf install -y curl || yum install -y curl || apt-get update && apt-get install -y curl
# Download backup scripts from GitHub # Download backup scripts from GitHub
echo "📥 Downloading backup scripts from GitHub..." echo "📥 Downloading backup scripts from GitHub..."