Spaces:
Sleeping
Sleeping
Bader Alabddan
Add critical infrastructure: backups, health checks, error tracking, and tests
f720ec4
| BACKUP_DIR="$HOME/Desktop/ClaimsGPT/backups" | |
| TIMESTAMP=$(date +%Y%m%d_%H%M%S) | |
| cp claim_decisions.db "$BACKUP_DIR/claim_decisions_$TIMESTAMP.db" | |
| echo "Backup created: claim_decisions_$TIMESTAMP.db" | |
| # Keep only last 30 backups | |
| ls -t "$BACKUP_DIR"/claim_decisions_*.db | tail -n +31 | xargs rm -f 2>/dev/null | |