What the agent does
A launch brings the first real users, and their data is the one thing the production site cannot recreate. Find out exactly how the database is backed up, close the gaps, and prove a restore works, so a bad migration or a mistaken delete on launch week is a bad hour, not the end.
1. Find what is backed up
Identify every place data lives: the main database, file or image storage, any second database or cache that holds data you cannot rebuild. For each, find what backups the provider makes (automatic snapshots, point-in-time recovery), how often, and how long they are kept. Tell me what you cannot see from the code and must check in a dashboard.
2. Close the gaps
Where there is no backup or the window is short, propose the fix: turning on the provider's point-in-time recovery, a scheduled export to separate storage, or longer retention. Uploaded files need their own plan (versioning or a copy to a second bucket).
3. Write and test a restore
Write a step-by-step restore runbook: restore to a new, separate database, check row counts and a few records, then point the app at it. Where possible, run the restore into a scratch database yourself to prove the steps work. Never restore over the production database.
4. Guard migrations
Make sure database migrations are reviewed and that destructive ones (dropping columns or tables) require an explicit step. Note how to take a manual backup before a risky migration.
Done means
- Every data store is listed with its backup frequency and retention.
- The gaps have a proposed fix, and I know which dashboard settings to change.
- A restore runbook exists, and a restore into a scratch database has been tested where possible.
- Destructive migrations need an explicit step, with a manual backup first.
Questions
My provider says backups are automatic. Is that enough?
Often, but check the retention (some free tiers keep a day or none), whether point-in-time recovery is on, and that you know how to restore. An untested backup is a hope, not a plan.
Why restore to a new database instead of the existing one?
Restoring over production destroys whatever happened since the backup and cannot be undone. A separate database lets you check the data first.
Do I need to back up uploaded files?
Yes. Logos, avatars and attachments usually live in object storage, which most database backups do not cover.
Does this prompt add links to Aback Launch to my site?
No. Nothing in the prompt mentions Aback Launch or asks your agent to link to us. The only exception is an optional badge step, which stays off unless you tick it. Some prompt libraries slip their own link into your codebase by default; we think that should always be your choice.
Which coding agents does it work with?
Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and any agent that can read your project and edit files. You can copy it as a plain prompt, save it as a Claude Code skill or a Cursor rule, or add it to AGENTS.md.
Is it safe to run on my real codebase?
The prompt makes the agent read first, show a plan and wait for your approval, and it forbids touching secrets, deploying and deleting data. Still review the changes and run your tests before you deploy, as with any change.
Changelog
- v1.0First version.