Same gap as run-cron.sh: the crontab's 03:00 backup-db.sh entry pointed at a script that never actually existed, so there have been no automated DB backups since that entry was added. pg_dump via a throwaway postgres:17-alpine container (matches Supabase's server version; no postgresql-client on the NAS host), against DIRECT_URL (non-pooled) rather than the pgbouncer-fronted DATABASE_URL, custom format (-Fc). Writes to /srv/dev-disk-by-uuid-ad295d7f-a870-4f70-9de2-dfded1fabf7f/BACKUPALL/pawfeed/ with 30-day retention, logs to docker/backup.log for visibility (no local mail delivery configured on this NAS). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
57 lines
840 B
Plaintext
57 lines
840 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files (can opt-in for committing if needed)
|
|
.env*
|
|
!.env.example
|
|
|
|
# NAS-side cron runtime logs (docker/run-cron.sh, docker/backup-db.sh), not app code
|
|
docker/cron.log
|
|
docker/backup.log
|
|
|
|
# temp scaffold directory (removed after setup)
|
|
/scaffold-tmp
|
|
|
|
# unrelated nested repo / generated knowledge-graph cache — not app code
|
|
/pentest-ai-agents
|
|
/graphify-out
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# clerk configuration (can include secrets)
|
|
/.clerk/
|