Go to file
JasonFraser 8ac5f12acd Make backup/.env durable under Dokploy via BACKUP_ENV_FILE override
Confirmed the hard way, live, on the migrated deployment: backup.sh
stopped every writer container, archived everything, restarted
containers -- all successfully -- and only failed on "rclone: command
not found" that run. Re-running after the rclone self-install fix then
hit a second, deeper problem: backup/.env itself had been wiped by the
Dokploy redeploy in between, since it lived next to backup.sh inside the
git checkout. This is the exact backup/restore-vs-AutoDeploy
architectural tension flagged earlier in this project but never
resolved until now -- same category of bug as backend/.env and
tenants.json before it.

BACKUP_ENV_FILE (new, defaults to the old next-to-the-script path for
local dev / a traditional non-Dokploy VPS, where the checkout is
stable) lets a Dokploy deployment's cron entry point backup.sh at
$SIGHTBOX_DATA_DIR/backup.env instead -- durable, survives every
redeploy, same pattern as TENANTS_JSON_PATH. Documented in both
INSTALLATION_PLAYBOOK.md Stage 10 and BACKUP_RESTORE.md, including the
corrected cron entry (the Dokploy-managed checkout path, not the
traditional /opt/sightbox/app assumption the original cron example
baked in).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-03 23:42:03 -04:00
.agents/skills Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
backend Add scripts/dev.sh and scripts/prod.sh for the local build-and-ship workflow 2026-10-03 14:02:54 -04:00
backup Make backup/.env durable under Dokploy via BACKUP_ENV_FILE override 2026-10-03 23:42:03 -04:00
erpnext-image Add scripts/dev.sh and scripts/prod.sh for the local build-and-ship workflow 2026-10-03 14:02:54 -04:00
frappe_docker@380b9d069a Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
playbook Make backup/.env durable under Dokploy via BACKUP_ENV_FILE override 2026-10-03 23:42:03 -04:00
provisioning Add Stock Viewer role: read-only access including cost/value figures 2026-10-03 22:55:19 -04:00
scripts Document exact step-by-step execution order in dev.sh/prod.sh headers 2026-10-03 14:14:31 -04:00
.env.example Make tenants.json durable: move its bind-mount source into SIGHTBOX_DATA_DIR 2026-10-03 20:51:29 -04:00
.gitignore Add scripts/dev.sh and scripts/prod.sh for the local build-and-ship workflow 2026-10-03 14:02:54 -04:00
.gitmodules Repoint frappe_docker submodule to a self-hosted mirror 2026-10-01 20:23:16 -04:00
API_INTEGRATION.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
CLAUDE.md Drop Technician system accounts; document Stock Viewer across the personas 2026-10-03 23:03:00 -04:00
UI_DESIGN_THEME.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
bettersightbox-index.html Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
docker-compose.data-dir.yml Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
docker-compose.dokploy.yml Make tenants.json durable: move its bind-mount source into SIGHTBOX_DATA_DIR 2026-10-03 20:51:29 -04:00
docker-compose.yml Make tenants.json durable: move its bind-mount source into SIGHTBOX_DATA_DIR 2026-10-03 20:51:29 -04:00
generate-dokploy-compose.sh Drop depends_on's required: sub-key for Dokploy too 2026-10-02 05:24:26 -04:00
inventory-implementation-training-guide.docx Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00