Safety Net: When it breaks, you bounce.
Backups you have actually restored, a plan for lost accounts, and an app that fails softly and survives a traffic spike.
Free: the guide, the prompt and the checklist. MIT licence.
| What fails | What you will have |
|---|---|
| A table gets deleted | Last night's backup, restored once already |
| You lose a phone or a login | Recovery codes and a second way in |
| A service you use goes down | A clear message instead of a crash |
| A post brings a crowd | A note of which limit breaks first |
What this is
Four ways to land softly
Safety Net covers what happens when something breaks, disappears or gets flooded. It has four parts. Backups (copies of your database saved as files) that you have actually restored once. A plan for lost or locked accounts, called continuity (a way back in when a phone or a login is gone). Resilience (code that shows a clear message instead of crashing when a service you depend on is down). And scale readiness (an app that holds up when a post suddenly brings a crowd).
Try it
Drop something. See what catches it.
Pick what broke and how you back up today. You get a drill card with what covers it, what you lose and the steps. Everything stays on this page.
Pick what broke, how you back up and whether you ever restored. The drill card fills in here.
Restore drill card
- What covers it
- What you lose
The steps
- Supabase Free: no automatic backups (checked 2026-11-15, source)
- Supabase point-in-time recovery: about $100 per month, point-in-time recovery with 7 days kept (checked 2026-11-15, source)
- Supabase Free paused project, restore possible for 1 year to restore a paused free project after pausing (checked 2026-11-15, source)
- Neon Free restore window: up to 6 hours or 1 GB of changes instant restore window on Neon free (checked 2026-11-15, source)
Why it matters
One bad day is enough
A deleted table, a locked account or one viral post can end a young product, and most of the protection is free. It only has to be set up once and tested. Some free plans have no automatic backups at all, and some pause a project that has been quiet, so your app stops until you switch it back on. The table under "What may cost money" shows each plan's terms with the date it was checked.
What the agent does
The agent weaves the net
- Writes the backup job and its schedule, copies your files and settings, and adds a heartbeat (a signal that tells you the backup ran).
- Writes retention rules (how long backups are kept) and adds soft delete (marking a record as deleted instead of erasing it, so it can be undone).
- Adds timeouts, retries, idempotency keys, webhook handling, double-submit guards and database constraints (rules the database itself enforces).
- Adds indexes (lookup tables that keep searches fast on big tables), pagination (long lists shown page by page) and upload limits.
- Runs a small load test against a test copy, never against the live site.
- Writes the disaster note and the launch-spike note.
What you do yourself
Your hands stay on the ropes
- Own every account in your own name, and add recovery methods and a backup card.
- Decide how much recent data you could bear to lose (the guide calls this your RPO, recovery point objective).
- Approve the storage provider that holds your backups.
- Run the first restore drill together with the agent.
- Read the plan terms of your host.
What may cost money
Where the net costs something
The guide is free, and so is everything the agent does with it. A few parts of a safety net can cost money: automatic backups on some database plans, storage beyond a free allowance, a commercial plan on your host, and load-test or background-job extras. The table shows each one, the free route, its catch, and the paid price with the date it was checked. A price marked unverified has not been confirmed.
| Thing | Free route | The catch | Paid from | Checked | Source |
|---|---|---|---|---|---|
| Database backups | Scheduled dump to a bucket | no automatic backups (checked 2026-11-15, source) on Supabase Free; restore to any second costs extra, about $100 per month, point-in-time recovery with 7 days kept (checked 2026-11-15, source) | $25/month USD per month, Pro plan (checked 2026-11-15, source) | 2026-11-15 | https://supabase.com/pricing |
| Backup storage | Cloudflare R2 free | 10 GB-month free storage per month (checked 2026-11-15, source); I could not confirm this today: needs a Cloudflare account with billing enabled (unverified, last seen 2026-11-15). Check source before you rely on it. | $6.95 per TB per month, Backblaze B2 storage (checked 2026-11-15, source) at Backblaze B2 | 2026-11-15 | https://developers.cloudflare.com/r2/pricing/ |
| Code mirror | GitLab Free, Bitbucket Free, local git bundle | 5 users per group on GitLab Free (checked 2026-11-15, source) users on GitLab; Codeberg is free and open-source projects only (checked 2026-11-15, source) | $29 per user per month, GitLab Premium, billed annually (checked 2026-11-15, source) | 2026-11-15 | https://about.gitlab.com/pricing/ |
| Business use of a host | Vercel Hobby, Netlify Free | Vercel Hobby is personal non-commercial use only (checked 2026-11-15, source); Netlify has 300 credits per month, free plan (hard limit) (checked 2026-11-15, source) credits a month | US$20 per month (checked 2026-11-15, source); $9 per month, Netlify Personal (checked 2026-11-15, source) | 2026-11-15 | https://vercel.com/docs/plans/hobby |
| Background jobs | Inngest free, Trigger.dev free | 5 concurrent steps on Inngest free (checked 2026-11-15, source) steps at once on Inngest; 20 concurrent runs on Trigger.dev free (checked 2026-11-15, source) runs at once on Trigger.dev | $99 per month, Inngest Pro (checked 2026-11-15, source); Hobby $10 per month, Pro $50 per month Trigger.dev paid plans (checked 2026-11-15, source) | 2026-11-15 | https://www.inngest.com/pricing |
| Load test | k6 run locally | Never against the live site; cloud free hours 500 virtual user hours per month, Grafana Cloud k6 free (checked 2026-11-15, source) | $0.15 per virtual user hour after the free 500 (checked 2026-11-15, source) | 2026-11-15 | https://grafana.com/products/cloud/k6/ |
| Free host that sleeps | Render free tier | I could not confirm this today: whether Render's free tier stops idle servers (unverified, last seen 2026-11-15). Check source before you rely on it. | from $25 per month, Render paid (as shown) (checked 2026-11-15, source) | 2026-11-15 | https://render.com/pricing |
When to do it
How far down are you
Before launch: an automatic backup, one restore drill (loading a backup into a fresh database to prove it works), account ownership, a pausing check, a read of your host's plan terms, timeouts (limits on how long your code waits for another service), idempotency (doing the same request twice has the effect of doing it once, so nobody is charged twice) and webhook (a message another service sends yours when something happens) handling. Launch week: a plan for a spike and a small load test. After launch: a restore drill every month, a vendor exit plan and a disaster walk-through.
- 5Early
- 25Before launch
- 7Launch week
- 2After launch
The checklist
Every strand, checked
39 of 39
- Backups and restore
- SN-1Automatic database backupAgent doesBefore launch
- SN-2Copy outside the vendorAgent doesBefore launch
- SN-3Restore drillAgent doesBefore launch
- SN-4File storage backupAgent doesBefore launch
- SN-5Config backupAgent doesBefore launch
- SN-6Backup monitorAgent doesBefore launch
- SN-7Retention planAgent doesBefore launch
- SN-8Loss and downtime targetsYou doEarly
- SN-9Soft delete and undoAgent doesBefore launch
- SN-10Free-tier pausingAgent doesBefore launch
- Continuity
- SN-11Account ownershipYou doEarly
- SN-12Recovery contactsYou doEarly
- SN-13Billing failure protectionYou doBefore launch
- SN-14Code mirrored elsewhereAgent doesBefore launch
- SN-15Vendor exit planAgent doesAfter launch
- SN-16Plan terms checkAgent doesBefore launch
- SN-17Disaster walk-throughAgent doesAfter launch
- SN-18Secrets recoverableYou doEarly
- SN-19Login emails not on one point of failureYou doEarly
- Resilience
- SN-20Timeouts on outside callsAgent doesBefore launch
- SN-21Retries with backoffAgent doesBefore launch
- SN-22IdempotencyAgent doesBefore launch
- SN-23Soft failureAgent doesBefore launch
- SN-24Webhook handlingAgent doesBefore launch
- SN-25Bad network handlingAgent doesBefore launch
- SN-26Double-submit protectionAgent doesBefore launch
- SN-27Database constraintsAgent doesBefore launch
- SN-28Kill switches for heavy featuresAgent doesBefore launch
- SN-29Failed-job holding areaAgent doesBefore launch
- Scale readiness
- SN-30Indexes for real queriesAgent doesLaunch week
- SN-31Connection poolingAgent doesLaunch week
- SN-32CachingAgent doesLaunch week
- SN-33Background jobsAgent doesLaunch week
- SN-34Limits on every listAgent doesBefore launch
- SN-35Upload limitsAgent doesBefore launch
- SN-36Small load testAgent doesLaunch week
- SN-37Platform limits knownAgent doesLaunch week
- SN-38Launch-spike planAgent doesLaunch week
- SN-39Free hosts that sleepAgent doesBefore launch
What you have at the end
What is holding when you land
- A nightly backup stored with a second provider, which you have restored once and timed.
- A list of who owns each account and how to get back in.
- An app that shows a clear message instead of crashing when a vendor fails.
- No double charges.
- A written note of which limit breaks first in a spike, and what to click.
Run it
Pull the cord
Paste this into your coding agent: Claude Code, Codex, Cursor or any agent that can read a web page. The guide is free and MIT licensed. No account, nothing to install.
Read https://zirkomirko.com/tools/launch-kit/guides/safety-net.md and run it on this project.
What you will be asked
- Whether it may check today's prices and free limits on the web before it starts.
- One yes or no on the whole plan before it touches your code, and every change on its own branch.
- Whether to start a side helper that looks for a free alternative, or note it for later.
- The steps only you can do: the accounts in your name, how much data you could bear to lose, the storage provider and the first restore drill.
- Before anything paid: the price, the date it was checked and the free route. Nothing is bought without your yes.
What files appear
LAUNCH-KIT.mdthe board: what is done, what only you can do, costs you agreed to..launch-kit/state.jsonwhere each item stands..launch-kit/reports/safety-net.mdthe report for this guide..launch-kit/evidence/safety-net/proof for each item.
Nothing in .launch-kit/ holds a password or key.
Tested with Claude Code and Codex.
Words on this page
Net vocabulary
- Backup
- a copy of the database saved as a file.
- Bucket (object storage)
- cheap online file storage; a bucket is one container of files.
- CDN (caching)
- copies of pages kept close to users so your server does less work.
- Connection pooler
- a layer that shares a few database connections among many short functions.
- Constraint
- a database rule (unique, not empty) the database itself enforces.
- Dead-letter queue
- a holding place for jobs that keep failing, so they can be fixed and replayed.
- Egress
- data sent out of a provider; some charge for it.
- Idempotency
- doing the same request twice has the same effect as doing it once, so no double charge.
- Index
- a lookup table that makes searches on large tables fast.
- Kill switch (feature flag)
- a setting that turns a feature off without a new deploy.
- Load test
- sending fake traffic to find what breaks first.
- Mirror
- a second copy of your code on another host.
- Pagination
- returning long lists page by page.
- Pausing
- a free database switched off for inactivity until resumed.
- PITR (point-in-time recovery)
- restoring the database to any second, not only to last night.
- Queue (background job)
- slow work done after the request has answered.
- Recovery codes
- one-time codes that get you into an account without your usual second step.
- Restore drill
- loading a backup into a fresh database to prove it works.
- Retention (lifecycle rule)
- how long backups are kept before they are deleted.
- Retry with backoff
- trying again after a short wait that grows each time.
- RPO (recovery point objective)
- how much recent data you could bear to lose, for example one day.
- RTO (recovery time objective)
- how long the product may be down while you recover.
- Signed upload URL
- a short-lived link that lets a browser upload straight to storage.
- Soft delete
- marking a record as deleted instead of erasing it, so it can be undone.
- Timeout
- a limit on how long your code waits for another service.
- Webhook
- a message another service sends to yours when something happens.
Before and after
Before the fall, after the catch
Before this
Nothing. You can start here.