added rsync disable in master global tier 1, advanced selection tier 2
This commit is contained in:
+24
@@ -265,6 +265,30 @@ MEDIA_MANAGEMENT_JOBS=(
|
||||
# ── RSYNC ─────────────────────────────────────────────────────────────────────────────────────
|
||||
# ==============================================================================================
|
||||
|
||||
# ━━━ Rsync Enable/Disable ━━━
|
||||
# Two-tier toggle system — Tier 1 overrides Tier 2.
|
||||
#
|
||||
# Tier 1 — Global gate:
|
||||
# RSYNC_ENABLED=false → ALL rsync stops everywhere, no exceptions
|
||||
# Use when: remote server completely offline, major maintenance, disaster recovery
|
||||
#
|
||||
# Tier 2 — Per-orchestrator (only applies when Tier 1 is true):
|
||||
# Fine grained control — disable specific orchestrators while keeping others
|
||||
# Use when: rebuilding secondary, testing, per-window bandwidth management
|
||||
#
|
||||
# Real world example (HOST2 data rebuild — your current situation):
|
||||
# RSYNC_ENABLED=true ← rsync works, individual scripts run fine
|
||||
# DAILY_RSYNC_ENABLED=false ← skip daily HDD syncs during rebuild
|
||||
# WEEKLY_RSYNC_ENABLED=true ← Emby + Critical-Data still sync (NVMe, separate BW)
|
||||
# FAILOVER_RSYNC_ENABLED=true ← handback writeback still works when needed
|
||||
# → Run individual: bash Rsync/rsync.sh /mnt/user/Movies (test each share manually)
|
||||
# → When ready: DAILY_RSYNC_ENABLED=true
|
||||
|
||||
RSYNC_ENABLED=true # Tier 1 — global gate, overrides everything below
|
||||
DAILY_RSYNC_ENABLED=false # Tier 2 — daily_sync_maintenance.sh rsync section
|
||||
WEEKLY_RSYNC_ENABLED=true # Tier 2 — weekly_sync_maintenance.sh rsync section
|
||||
FAILOVER_RSYNC_ENABLED=true # Tier 2 — failover.sh writeback jobs on handback
|
||||
|
||||
# ━━━ Rsync Defaults ━━━
|
||||
# Global fallback values used when no profile match is found.
|
||||
# Media shares in HOST*_DAILY_SYNC_SHARES always use these globals — no profile needed.
|
||||
|
||||
Reference in New Issue
Block a user