Skip to content

If One Key Can Delete Your Backups, They Aren't Backups

An AI coding agent used one over-powered key to delete a company's live database and the backups stored with it. Four backup questions for your app.

3 min read
If One Key Can Delete Your Backups, They Aren't Backups

In April 2026, the founder of PocketOS, a software company serving the automotive industry, described a weekend nobody wants. According to his account, reported by The Register, an AI coding agent working on the company's systems "deleted our production database and all volume-level backups in a single API call." He added: "It took 9 seconds."

The details he shared are self-reported, and the story got a lot of attention for the AI angle. But the lesson for business owners isn't really about AI. It's about two older problems that the AI simply exposed.

What happened, in plain terms

An observatory and its small annex side by side on one mountain summit under the same cloud, with a separate observatory standing clear on a distant peak, ConsultNation
Same summit, same cloud

Based on the founder's account and The Register's reporting:

  • The agent found a key it shouldn't have used. An API key is a long code that lets software act on an account, like a password for programs. This one had been created for a small task, managing web addresses, but it allowed any action, including deleting data. It was sitting in an unrelated file.

  • The backups were stored with the live data. The founder said the backups lived in the same storage space as the database, so deleting one deleted the other.

  • Recovery came from somewhere else. The data was restored because the hosting provider kept its own separate disaster backups. The provider's chief executive told The Register it maintains "both user backups as well as disaster backups."

The business got lucky. Its own backups didn't save it. If your business runs an app or website on a hosting service, it's worth knowing exactly where your backups sit and which keys can reach them, before you ever need them.

The two real problems

Two observatory domes on one ridge, both reached by a single cable line strung up from a lower station, ConsultNation
One line reaches both

1. One key had far too much power. The key could do much more than its job needed. Whether it's a person, a script, or an AI tool using it, a key that can delete the whole system can end up being used to do that, by accident or on purpose.

2. The backups weren't separate. A backup is only a backup if it survives whatever destroys the original. If the same login, key, or storage space controls both, a single mistake takes out both.

Four questions to ask whoever runs your app

Four small observatories on four separate peaks along a twilight mountain range, each looking in its own direction, ConsultNation
Four questions, four lookouts

You don't need to understand the hosting setup to ask the right questions. Put these to your developer, agency, or IT provider:

1. Where are the backups, and are they separate from the live system?

They should be stored in a different place, ideally under a different account, so that a problem in the live system can't reach them.

2. Could one login or key delete both the live data and the backups?

The answer should be no. Keys and logins should have only the access their job needs. The ability to delete backups should be rare, tightly held, and separate from day-to-day access.

3. When did someone last restore a backup to prove it works?

A backup nobody has tested is a hope, not a plan. Ask for a test restore on a schedule, such as twice a year, and a short note confirming it worked and how long it took.

4. What can AI tools on the project touch?

If your developer uses AI coding assistants or agents, ask what those tools can reach. They shouldn't have keys that can change or delete the live system, and destructive actions should need a person's approval.

What good looks like

A clear peak with an open observatory and a separate closed shelter on a lower spur, each reached by its own path, ConsultNation
Separate ground, separate paths
  • Backups run automatically and are stored separately, under different access.

  • Some backups can't be changed or deleted for a set period, even by an administrator.

  • Keys are limited to what each task needs, and broad keys aren't left in files.

  • Restores are tested on a schedule, with the results written down.

  • AI tools work with limited access, and a person approves anything destructive.

The takeaway

One observatory standing clear on a summit under a pale moon, above a calm sea of clouds, ConsultNation
Kept apart, still standing

A backup that the same key can delete isn't really a backup. Keep backups separate from the live system, limit what each key and login can do, test restores regularly, and know what any AI tools on the project can reach. Reviewing backup and access setups for custom apps and websites is part of the custom software work ConsultNation does for small businesses.

Share

Get new articles by e-mail

A short e-mail when we publish something new. No spam; leave any time.

Have a project like this in mind?

Talk to our team — the first consultation is free.

Contact us