true bidirectional with split truth modle set up. all scripts are fully bidirectional

This commit is contained in:
2026-04-21 18:20:47 -04:00
parent 6b36b8c07a
commit d4bf31a5f4
9 changed files with 846 additions and 161 deletions
+20 -10
View File
@@ -66,6 +66,7 @@
# │
# ├── Orchestrators/
# │ ├── daily_sync.sh # Runs all daily media share syncs sequentially
# │ ├── nightly_critical_full_sync.sh # Clean nightly sync — Emby + auth stack stopped
# │ ├── media_management.sh # Runs permissions + cleaners + arr cleanup
# │ ├── transcode_management.sh # Runs cleanup then manager every 3min + daily stats
# │ └── README-Orchestrators.md
@@ -163,6 +164,7 @@
# Individual scripts below are still accessible for manual runs or testing.
#
#/mnt/user/appdata/unraid_scripts/Orchestrators/daily_sync.sh
#/mnt/user/appdata/unraid_scripts/Orchestrators/nightly_critical_full_sync.sh
#/mnt/user/appdata/unraid_scripts/Orchestrators/media_management.sh
#/mnt/user/appdata/unraid_scripts/Orchestrators/transcode_management.sh
#
@@ -170,7 +172,7 @@
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-Failover/Arrs_Stack
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-Failover/Critical-Data
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-Failover/Important-Data
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-Failover/Emby
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-Failover/Emby --profile=emby-failover
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-Failover/Gmer4Lfe
#
# ━━━ Rsync — Individual Media Shares (ad hoc) ━━━
@@ -285,31 +287,39 @@
# php_fpm_max_children.sh — WebGUI performance tuning
#
# ━━━ Frequent (cron) ━━━
# */3 * * * * transcode_management.sh (replaces separate manager + cleanup entries)
# */3 * * * * transcode_management.sh (cleanup + manager every 3min)
# */30 * * * * rsync.sh /mnt/user/appdata-Failover/Emby (emby-failover dirty sync)
# --profile=emby-failover
# */10 * * * * webgui_restart.sh
# */15 * * * * docker_watchdog.sh
# */15 * * * * system_watchdog.sh
#
# ━━━ Daily ━━━
# 0 1 * * * daily_sync.sh
# 0 2 * * * media_management.sh
# 0 3 * * * docker_daily_restart.sh
# 0 8 * * * weekly_health_digest.sh (profile controls if it sends)
# 0 1 * * * daily_sync.sh (media shares both directions)
# 0 2 * * * media_management.sh (permissions + cleaners + arrs)
# 30 2 * * * nightly_critical_full_sync.sh (clean Emby + auth stack sync)
# 0 3 * * * docker_daily_restart.sh
# 0 8 * * * weekly_health_digest.sh (profile controls if it sends)
#
# ━━━ Rsync profiles — schedule individually ━━━
# Arrs_Stack — daily or every few days (arr databases change on every download)
# Critical-Data — handled by nightly_critical_full_sync.sh — no separate schedule needed
# Important-Data — daily (NextCloud file changes)
# Gmer4Lfe — daily or weekly (personal appdata, rarely changes)
# Emby — handled by nightly_critical_full_sync.sh — no separate schedule needed
# emby-failover — every 30-60min via frequent cron above
#
# ━━━ Weekly — Sunday morning block ━━━
# 0 3 * * 0 docker_weekly_restart.sh
# 0 5 * * 0 clear_logs.sh
# 0 6 * * 0 zfs_memory_snapshot.sh
# 0 7 * * 0 smart_health.sh
# 0 8 * * 0 weekly_health_digest.sh (weekly profile sends today)
# 0 8 * * 0 weekly_health_digest.sh (weekly profile sends today)
# 0 9 * * 0 cert_monitor.sh
# 0 10 * * 0 backup_verify.sh
# 0 11 * * 0 emby_session_report.sh
# 0 11 * * 0 bandwidth_monitor.sh --report
#
# ━━━ Rsync profiles ━━━
# Schedule individually based on how frequently appdata needs syncing
#
# ━━━ Bandwidth monitor ━━━
# bandwidth_monitor.sh --log-transfer called automatically by rsync.sh
# bandwidth_monitor.sh --report runs standalone for weekly summary