convex avatar

Convex Backup

Most backup setups stop at taking the export, which means you never learn whether the export restores until a real disaster forces the question. convex-backup closes that gap. It schedules regular snapshot exports to storage you control, then runs a restore drill: it creates a throwaway Convex preview from current code, imports the snapshot into it, and checks that the critical tables came back with the expected row counts and real records. The drill reuses the same snapshot and preview mechanics as migrate-rehearse, aimed at recovery rather than a schema change. The part worth taking seriously is that a restore landing zero rows counts as a failed drill, and the skill is built to surface that loudly. Preview deploy keys are a paid-tier feature, so free-tier users fall back to a personal dev deployment.

skills.sh installs
41K
GitHub stars
69
last updated
Oct 26, 2026

Install

$ npx -y skills add convex/agent-skills --skill convex-backup --agent claude-code

Installs into .claude/skills of the current project.

Files

Back up — and prove the restore works

Every backup story has two halves and most people only do the first: taking the backup, and proving you can get it back. This capability does both — it sets up regular snapshot exports and then runs a RESTORE DRILL that actually recovers the data into a disposable preview and asserts it's intact. The drill reuses migrate-rehearse's exact primitives (snapshot export → preview deploy → snapshot import) pointed at recovery instead of a forward change, so the safety net is tested, not assumed.

Workflow

Sponsors

Details

Repository
github.com/convex/agent-skills
Categories
Testing & QA, AI & Agent Building, Automation & Workflows, Databases
First seen
Oct 26, 2026

More from convex/agent-skills

All 30
1convex avatarconvex-verifyconvex/agent-skillsProve a Convex feature works — seed, drive as multiple mocked users via convex-test, assert behavior including the negative authz cases (wrong user refused, dat41Kskills.sh installs
2samber avatargolang-stretchr-testifysamber/cc-skills-golangComprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use when writing tests with testify, crea40.9Kskills.sh installs
3samber avatargolang-continuous-integrationsamber/cc-skills-golangCI/CD pipeline configuration using GitHub Actions for Golang projects — testing, linting, SAST, security scanning, code coverage, Dependabot, Renovate, GoReleas40.9Kskills.sh installs
4shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
5neondatabase avatarneon-postgres-branchesneondatabase/agent-skillsChoose and create the right Neon branch type for testing and development. Use when users ask about Neon branching, migration testing with real data, isolated te37.3Kskills.sh installs
6clerk avatarclerk-cliclerk/skillsOperate the Clerk CLI (`clerk` binary) for authentication, user/org/session management, impersonation, local webhook testing, deploy verification, instance conf35.8Kskills.sh installs