scripts/backup-db.sh copies the remote DB via scp to ./backups/ with a timestamp. Backups older than 30 days are auto-deleted. Backup directory is gitignored. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
202 B
Plaintext
21 lines
202 B
Plaintext
# Binary
|
|
krafttrainer
|
|
|
|
# Database
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
|
|
# Frontend build
|
|
frontend/dist/
|
|
frontend/node_modules/
|
|
backend/static/*
|
|
!backend/static/.gitkeep
|
|
|
|
# Go
|
|
backend/vendor/
|
|
|
|
# OS
|
|
.DS_Store
|
|
backups/
|