From 789d376eb3bad5a635788d3bf1241fc8a6d0b38d Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Thu, 21 May 2026 16:51:09 -0400 Subject: [PATCH] =?UTF-8?q?Rsync=20echo/log=20audit=20pass=20=E2=80=94=20r?= =?UTF-8?q?sync.sh=20+=20Manual?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix log→echo on success status line in summary block. Add output tiers section to Manual-Rsync.md. No setup banner (script was already clean); all section headers and transfer identity block correctly remain echo. --- Rsync/Manual-Rsync.md | 13 +++++++++++++ Rsync/rsync.sh | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Rsync/Manual-Rsync.md b/Rsync/Manual-Rsync.md index ab6496c..af60693 100644 --- a/Rsync/Manual-Rsync.md +++ b/Rsync/Manual-Rsync.md @@ -680,6 +680,19 @@ HOST2_SSH_KEY="/root/.ssh/jayred365_rsync_automation" --- +## ━━━ OUTPUT TIERS ━━━ + +Without `--log`, each run shows: section headers (Pre-flight, Transfer, Stop/Start +Containers), the transfer identity block (source, remote, profile, identity), a +progress indicator while rsync is running, and a summary block with duration, +bytes transferred, and status. Warnings and errors are always visible. + +With `--log`, every decision is shown — pre-flight check results, profile resolution, +per-container stop/start state, retry details, and bandwidth log confirmation. +Use for first-run validation or when investigating unexpected behavior. + +--- + ## ━━━ FLAG REFERENCE ━━━ All flags work on `rsync.sh` and all orchestrators. diff --git a/Rsync/rsync.sh b/Rsync/rsync.sh index d2a4f3f..d99bc86 100644 --- a/Rsync/rsync.sh +++ b/Rsync/rsync.sh @@ -435,7 +435,7 @@ echo "$ICON_TIME Duration: $(format_duration $DURATION)" if [[ "$DRY_RUN" == true ]]; then warn "DRY RUN — no changes made" elif [[ "$RSYNC_SUCCESS" == true ]]; then - log "$ICON_DONE Status: $ICON_SUCCESS DONE" + echo "$ICON_DONE Status: $ICON_SUCCESS DONE" else echo "$ICON_ERROR Status: FAILED after $RETRY_COUNT attempts" notify "Rsync FAILED — $DIRECTORY ($PROFILE_NAME) after $RETRY_COUNT attempts on $(hostname)" \