From 10f22350c5562fa9b4df30ba0378388dc4834d0f Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 29 Mar 2026 13:44:32 +0300 Subject: [PATCH] exclude frigate, audiblez, ollama, real-estate-crawler from Synology backup [ci skip] Expanded cloud sync excludes to reduce sync time and Synology disk usage. All excluded data is either regenerable or low-value. TrueNAS Task 1 and incremental script already updated live. --- .claude/CLAUDE.md | 2 +- docs/architecture/backup-dr.md | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 0857aedb..571b56ef 100755 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -123,7 +123,7 @@ Repo IDs: infra=1, Website=2, finance=3, health=4, travel_blog=5, webhook-handle ### Cloud Sync (TrueNAS → Synology NAS) - **Task 1**: Weekly push (Monday 09:00) of `/mnt/main` NFS data to `nas.viktorbarzin.lan:/Backup/Viki/truenas` - **zfs diff optimization**: Pre-script diffs `main@cloudsync-prev` vs `main@cloudsync-new`, writes changed files to `/tmp/cloudsync_files.txt`. Args: `--files-from /tmp/cloudsync_files.txt --no-traverse`. Post-script rotates snapshots. Falls back to full `find` if no prev snapshot or >100k changes. -- **Excludes**: ytldp, prometheus, logs, post, crowdsec, servarr/downloads, iscsi, iscsi-snaps +- **Excludes**: ytldp, prometheus, logs, post, crowdsec, servarr/downloads, iscsi, iscsi-snaps, frigate, audiblez, ebook2audiobook, ollama, real-estate-crawler ### iSCSI Backup Architecture - iSCSI zvols are raw block devices exported to k8s nodes via democratic-csi diff --git a/docs/architecture/backup-dr.md b/docs/architecture/backup-dr.md index 8840aba0..5f1aa53e 100644 --- a/docs/architecture/backup-dr.md +++ b/docs/architecture/backup-dr.md @@ -254,7 +254,11 @@ TrueNAS Cloud Sync Task 1 runs `rclone sync` which: | `clickhouse/**` | Regenerable logs/metrics | 2.47M files | | `loki/**` | Regenerable logs | 68K files | | `iocage/**` | Legacy FreeBSD jails (unused) | 96K files | -| `frigate/recordings/**` | Ephemeral security cam footage | 57K files | +| `frigate/**` | Ephemeral recordings/clips, trivial config | 57K+ files | +| `audiblez/**` | Generated audiobooks, regenerable from source ebooks | — | +| `ebook2audiobook/**` | Same service as audiblez, second volume | — | +| `ollama/**` | UI data (chat history/settings), low value | — | +| `real-estate-crawler/**` | Scraped property data, regenerable by re-crawling | — | | `prometheus/**` | Covered by monthly app backup | Large TSDB | | `crowdsec/**` | Regenerable threat intelligence | — | | `servarr/downloads/**` | Transient download staging | — |