ops: consistent rotated db backups + cron, consecutive-api-error staff alert

This commit is contained in:
Oleksandr Kozachuk
2026-07-13 18:25:01 +02:00
parent d0819c2683
commit 4166520923
7 changed files with 237 additions and 2 deletions
+3
View File
@@ -83,3 +83,6 @@ ci: install-dev all-checks ## Full CI pipeline (install deps and run all checks)
# Deploy targets (SPEC-007)
deploy: ## Deploy a tag to a host: make deploy HOST=ggg TAG=v3.0.0
bash deploy/deploy.sh $(HOST) $(TAG)
backup: ## Back up a local bot.db: make backup DB=history/bot.db DIR=backups
uv run python deploy/backup_db.py $(DB) $(DIR) $(or $(KEEP),14)