From 112793055fe965da1cb409d19030eccc4be073dd Mon Sep 17 00:00:00 2001 From: FailedProxy Date: Wed, 29 Apr 2026 21:19:15 -0400 Subject: [PATCH] master conf var update --- Master.conf | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Master.conf b/Master.conf index 105701c..925dae7 100644 --- a/Master.conf +++ b/Master.conf @@ -332,9 +332,9 @@ # Shares synced during the critical sync window. CRITICAL_SYNC_SHARES=( - "/mnt/user/appdata-Failover/Critical-Data" # auth stack — full sync - "/mnt/user/Media_Server/Emby|emby-failover" # Emby dirty sync — stays running - ) + "/mnt/user/appdata-Failover/Critical-Data|critical-failover" + "/mnt/user/Media_Server/Emby|emby-failover" +) # ============================================================================================== # ── RSYNC ───────────────────────────────────────────────────────────────────────────────────── @@ -362,7 +362,7 @@ RSYNC_ENABLED=true # Tier 1 — global gate, overrides everything below DAILY_RSYNC_ENABLED=false # Tier 2 — HOST2 rebuild in progress, re-enable when ready WEEKLY_RSYNC_ENABLED=true # Tier 2 — weekly_sync_maintenance.sh rsync section - CRITICAL_RSYNC_ENABLED=true # Tier 2 — critical_sync_maintenance.sh (every 15min) + CRITICAL_RSYNC_ENABLED=false # Tier 2 — critical_sync_maintenance.sh (every 15min) FAILOVER_RSYNC_ENABLED=true # Tier 2 — failover.sh writeback jobs on handback # ━━━ Rsync Defaults ━━━ @@ -404,6 +404,9 @@ # called by weekly_sync_maintenance.sh only — do NOT schedule separately # emby-failover — frequent dirty sync — Emby stays running, WAL excluded # also used for failover writeback on handback +# critical-failover — frequent dirty sync — auth stays running, WAL excluded +# called by critical_sync_maintenance.sh every 15min +# full clean sync done by weekly (critical-data profile) declare -A PROFILE_RSYNC_OPTS=( [arrs_stack]="-av --info=progress2 --human-readable --bwlimit=$BW_LIMIT --delete --inplace" @@ -412,6 +415,7 @@ [important-data]="-av --human-readable --bwlimit=$BW_LIMIT" [emby]="-av --human-readable --bwlimit=$BW_LIMIT --delete --inplace --no-whole-file" [emby-failover]="-av --human-readable --bwlimit=$BW_LIMIT --delete --inplace --no-whole-file" + [critical-failover]="-av --human-readable --bwlimit=$BW_LIMIT --delete --inplace --no-whole-file" ) # Per-profile bandwidth limits in KB/s @@ -422,6 +426,8 @@ [important-data]=9500 # high — database sync [emby]=8000 # medium — large full mirror [emby-failover]=9500 # high — small critical dataset + [critical-failover]=9500 # high — small dataset, sync fast + ) # Retry attempts per profile @@ -432,6 +438,7 @@ [important-data]=3 [emby]=3 [emby-failover]=3 + [critical-failover]=3 ) # Seconds between retry attempts @@ -442,6 +449,7 @@ [important-data]=300 [emby]=300 [emby-failover]=120 # shorter — frequent dirty sync, retry faster + [critical-failover]=120 ) # Containers stopped on BOTH LOCAL and REMOTE before rsync. @@ -455,6 +463,7 @@ [important-data]="Postgres-NextCloud NextCloud" [emby]="Emby" [emby-failover]="" # dirty sync — Emby stays running both sides + [critical-failover]="" # dirty sync — auth stays running both sides ) # Containers needing a delay after rsync before starting. @@ -466,6 +475,7 @@ [important-data]="NextCloud" # wait for Postgres [emby]="" [emby-failover]="" + [critical-failover]="" ) # Seconds before starting delayed containers @@ -476,6 +486,7 @@ [important-data]=10 # Postgres needs time before NextCloud [emby]=5 [emby-failover]=5 + [critical-failover]=5 ) # Directories excluded from rsync per profile. @@ -487,6 +498,7 @@ [critical-data]="logs *.tmp *.log nginx/temp nginx/cache __pycache__ notification.txt" [emby]="logs transcodes cache crash*" [emby-failover]="logs transcodes cache metadata *.db-wal *.db-shm crash* plugins root" + [critical-failover]="logs *.tmp *.log nginx/temp nginx/cache __pycache__ notification.txt *.db-wal *.db-shm" ) # Note: disk check is auto-detected from disks.ini — no PROFILE_SKIP_DISK_CHECK needed.