improved progress tracking

This commit is contained in:
2026-03-27 20:43:28 +00:00
parent 3b7476ff97
commit 71add4ad71
+1 -2
View File
@@ -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
}