ops: consistent rotated db backups + cron, consecutive-api-error staff alert
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user