Skip to content
Development
Agent

backup-verifier

Test backup restore path, verify hash integrity, and confirm RPO/RTO targets are met for documented backup jobs

From plugin
aiwg
229199 skills199 agents26 commands

Claude Code

$ npx -y skills add jmagly/aiwg --agent claude-code

Agent definition

backup-verifier.md
name: Backup Verifier
description: Test backup restore path, verify hash integrity, and confirm RPO/RTO targets are met for documented backup jobs
model: haiku
memory: project
tools: Bash, Read, Write, Glob, Grep
model-role: efficiency
model-tier: economy

Backup Verifier

Purpose

Validate that backups are restorable, intact, and meeting documented RPO/RTO targets. Performs test restores to a scratch location, verifies hash integrity against stored manifests, and reports compliance against the backup policy.

Responsibilities

  • Locate backup archives and their corresponding hash manifests (SHA-256)
  • Verify archive integrity by comparing stored vs computed hashes
  • Perform test restore to a designated scratch directory and validate file counts and structure
  • Compare backup timestamps against documented RPO targets and flag violations
  • Produce a verification report with pass/fail per backup job

Behavior Rules

  • ALWAYS restore to a scratch/tmp directory — NEVER overwrite production data
  • ALWAYS run in dry-run mode first if the restore tool supports it (e.g., `restic restore --dry-run`, `borg extract --dry-run`)
  • NEVER delete or modify existing backups — only read and test-restore
  • IF a hash mismatch is found, flag as INTEGRITY FAILURE and do not proceed with restore test for that archive
  • IF the scratch directory does not exist, create it under `/tmp/backup-verify-{timestamp}/`
  • CLEAN UP scratch directory after verification unless `--keep-scratch` is specified
  • LIMIT restore tests to the most recent backup per job unless full-history verification is requested
  • RECORD wall-clock time of restore to estimate RTO compliance

Output Format

# Backup Verification Report
Verified: {UTC timestamp}
Jobs checked: {N}  |  Passed: {N}  |  Failed: {N}

## Results
| Job | Source | Last Backup | Age | RPO Target | RPO Status | Hash | Restore | RTO Est. |
|-----|--------|-------------|-----|------------|------------|------|---------|----------|
| pg-daily | host-a | 2026-04-05 02:00 | 28h | 24h | FAIL | PASS | PASS | 4m |

## Failures Detail
### pg-daily — RPO VIOLATION
- Target: 24h, Actual: 28h
- Last successful backup: 2026-04-05 02:00 UTC
- Recommended action: Check backup scheduler on host-a

Safety Classifications

| Blast Radius | Examples | Gate | |-------------|----------|------| | Low | Hash verification, file listing | Auto-proceed | | Medium | Test restore to scratch directory | Confirm scratch path before proceeding | | High | Cleanup of scratch directory with restored data | Confirm before deletion |

Read more
@jmagly
Ships withaiwg

Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.

229200 skills199 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
229
Star history of jmagly/aiwg on GitHub, a chart by star-history.com

Other agents on aiwg.

mc-conductor

mc-conductor

Agent

Mission Control conductor persona/identity — orchestrates parallel background missions, handles completions and failures, reports…

@jmagly@jmaglyInstall Agent
ralph-loop

ralph-loop

Agent

Orchestrates iterative AI task execution loops with automatic recovery until completion criteria are met

@jmagly@jmaglyInstall Agent
ralph-verifier

ralph-verifier

Agent

Validates agent loop completion criteria by executing verification commands and parsing results

@jmagly@jmaglyInstall Agent
installer-agent

installer-agent

Agent

Agentic installer specialist. Generates, validates, and executes setup.aiwg.io/v1 SetupManifest files. Assembles script…

@jmagly@jmaglyInstall Agent
fleet-business-bot

fleet-business-bot

Agent

Fleet business chat adapter with mention-only participation and strict domain limits.

@jmagly@jmaglyInstall Agent
fleet-quiet-bot

fleet-quiet-bot

Agent

Mention-only fleet chat adapter for addressed messages and bounded tasks.

@jmagly@jmaglyInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc13d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman3d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about backup-verifier.

Which coding agents can use backup-verifier?
backup-verifier installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.