Backup verification
Restores the latest backup to a scratch location and checks it.
RunsEvery Sunday at 4 AM
Cron
0 4 * * 0Works withAny agent, any stack
Find the most recent backup in <LOCATION>. Restore it to a temporary directory or scratch database, verify file counts/table row counts against production, and run <INTEGRITY CHECK>. Report pass/fail, backup age, size, and anything missing. Clean up the scratch copy afterwards.
Replace anything in <ANGLE BRACKETS> with your own details. Review outputs before letting an agent send, buy or delete anything.
How to run this
Works with any agent
⏱TriggerEvery Sunday at 4 AM
✦Any agentRuns the prompt
✓OutputResult for you to review
Steps
- Copy the prompt and fill in the parts in angle brackets.
- Paste it into whatever agent you already use: a chat assistant, a coding agent, an automation tool, or a script that calls any model API.
- Schedule it (every sunday at 4 am). Use the agent's own scheduler if it has one, otherwise run it from cron with the expression below.
- Give it only the access it needs (inbox, calendar, repo, sheet) and keep sends, purchases and deletes behind your approval.
- Review the first two runs, tweak the prompt, then let it run.