← back to Big Red
deploy: guard prod-only runtime data from rsync --delete
a64cec1c7aea5896483b9a34b47db53bbf1de519 · 2026-09-04 08:25:09 -0700 · Steve Abrams
deploy.sh runs 'rsync -az --delete' with no data/ exclude, so a deploy
overwrote the box's runtime file with the local copy and destroyed
everything written since the last deploy. Added a surgical
RSYNC_EXTRA_EXCLUDES for this project's runtime path(s) only, so genuine
build artifacts under data/ keep syncing.
Verified by itemized rsync --dry-run against prod: the runtime file is
listed for transfer WITHOUT the exclude and absent WITH it.
Fleet sweep, TK-11227. Same bug class as the July 2026 artmura/quadrille
mis-target fix and the abramsagency lead-ledger fix (TK-10536).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013mq9RQtVZZEWvreDqqTgv2
Files touched
Diff
commit a64cec1c7aea5896483b9a34b47db53bbf1de519
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Fri Sep 4 08:25:09 2026 -0700
deploy: guard prod-only runtime data from rsync --delete
deploy.sh runs 'rsync -az --delete' with no data/ exclude, so a deploy
overwrote the box's runtime file with the local copy and destroyed
everything written since the last deploy. Added a surgical
RSYNC_EXTRA_EXCLUDES for this project's runtime path(s) only, so genuine
build artifacts under data/ keep syncing.
Verified by itemized rsync --dry-run against prod: the runtime file is
listed for transfer WITHOUT the exclude and absent WITH it.
Fleet sweep, TK-11227. Same bug class as the July 2026 artmura/quadrille
mis-target fix and the abramsagency lead-ledger fix (TK-10536).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013mq9RQtVZZEWvreDqqTgv2
---
.deploy.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.deploy.conf b/.deploy.conf
index 6a0d7c0..b09e76e 100644
--- a/.deploy.conf
+++ b/.deploy.conf
@@ -7,7 +7,7 @@ PROJECT_NAME=aichat
DEPLOY_PATH=/opt/big-red
HEALTH_URL=http://127.0.0.1:9936/api/health
# /opt/big-red/.pm2 is the bigred user's pm2 home — protect it from rsync --delete.
-RSYNC_EXTRA_EXCLUDES=".pm2"
+RSYNC_EXTRA_EXCLUDES=".pm2 /data/price-verifications.json"
# Public URL once Cloudflare/DNS configured:
# https://chat.designerwallcoverings.com/api/health
PUBLIC_URL=https://chat.designerwallcoverings.com
← b7f86db Add LLM_BACKEND=ollama switch; Big Red answers from Mac2 qwe
·
back to Big Red
·
big-red: Canada-only suppression of free sample-shipping cla ad0a112 →