improved progress tracking
This commit is contained in:
@@ -120,7 +120,6 @@ stop_containers() {
|
||||
RUNNING_CONTAINERS=()
|
||||
|
||||
for c in "${CRITICAL_CONTAINER_NAMES[@]}"; do
|
||||
log "Checking container: $c"
|
||||
|
||||
STATUS=$(ssh -i "$SSH_KEY" root@"$REMOTE_SERVER" \
|
||||
"docker inspect -f '{{.State.Running}}' $c 2>/dev/null" || echo "false")
|
||||
@@ -195,7 +194,7 @@ get_rsync_opts() {
|
||||
|
||||
# ------------------ PROGRESS (SAFE TOGGLE) ------------------
|
||||
if [[ "${ENABLE_PROGRESS:-false}" == true ]]; then
|
||||
RSYNC_OPTS+=(--info=progress2 --human-readable)
|
||||
RSYNC_OPTS+=(--info=progress2 --human-readable --no-inc-recursive)
|
||||
log "Progress enabled (progress2 + human-readable)"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user