# Auto-Backup Verifier — Runbook

## Purpose
Verify daily that backup pushed to Gitea includes critical files.

## Import
1. Open n8n → Workflows → Import from file
2. Import `backup-verifier-workflow.json`
3. Configure credentials:
   - HTTP Header Auth for Gitea API (Authorization: token <YOUR_GITEA_TOKEN>)
   - Telegram credential named `Telegram account`
4. Set env var in n8n for Gotify:
   - `GOTIFY_TOKEN=<your token>`

## What it checks
- AGENTS.md
- MEMORY.md
- TOOLS.md
- state-backup/openclaw.json
- state-backup/cron/jobs.json
- state-backup/devices/paired.json

## Alerts
- Success: Gotify priority 2
- Failure: Gotify priority 9 + Telegram alert

## Notes
- Schedule is 02:20 AWST by default (after backup)
- Keep workflow inactive until credentials are confirmed
