Dev.to Security 🔐 Cybersecurity 👁 0 📖 2 min read

Have you ever restored a backup of your AI-built app

Your AI-built app has been live for three months. One day a bad migration wipes a table, or someone deletes the wrong project in your database dashboard. You open the backups page and find out that backups were never tur

Your AI-built app has been live for three months. One day a bad migration wipes a table, or someone deletes the wrong project in your database dashboard. You open the backups page and find out that backups were never turned on. Or they exist, and nobody has ever tried to restore one.

Why it happens

A builder can create your app, your database and your deploy in an afternoon. Backups are not part of "it works", so they are easy to skip. Many database plans have backups off, or keep only a few days of them, until you change a setting.

A backup you have never restored is a guess. Files can be empty, incomplete or missing the one table you need.

How to check your own app

  1. Open your database provider's dashboard and find the backup settings. Are automatic backups on? How many days are kept?
  2. Find where files that users upload are stored. Are those backed up too? Database backups often do not include them.
  3. Check who can delete backups, and whether that account has two-step sign-in.
  4. Restore the latest backup into a fresh, empty test database. Open the app against it and check that real data is there.
  5. Write down how long the restore took and the steps. You will want that list on a bad day.

What to look for

  • Backups turned off, or kept for only a day or two.
  • Backups stored in the same account and project as the live data, so one mistake or one stolen login removes both.
  • No backup of uploaded files, environment settings or auth configuration.
  • A restore that has never been tested.

How to fix it

  • Turn on automatic daily backups and keep at least a few weeks.
  • Copy a backup regularly to a second place that your normal login cannot delete.
  • Test a restore every few months and after any big change to your data model.
  • Keep your environment variable names and deploy steps in a file, so a rebuild is not a memory exercise.

A prompt you can paste into your AI builder

"List every place this project stores data: database, file storage, auth provider and any third-party service. For each one, tell me how to turn on automatic backups, how long they are kept, and how to restore. Write a short RESTORE.md with the steps and the list of environment variables I need to rebuild the app from scratch. Do not include any secret values."

What a scanner can and cannot tell you

An outside scan of your public pages cannot see your backup settings or your database dashboard. This is a check you do in your own accounts.

I work on ProofForge. The free scan covers what a visitor can see and says plainly what it could not check.

Check your own app from the outside, free. Run the free ProofForge scan on your live URL. No account needed for the first scan. It looks at your public site the way a stranger would and says pass, fail or inconclusive, so you know what is confirmed and what it could not see. One-time reports start at $9: see pricing. Building with an AI agent? There is an MCP server so it can check before it deploys.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.