Teams say “we have backups” for three situations that are not the same.

A copy exists. The copy has been checked. Someone has restored the copy and looked at the result. Mixing them up is how a backup policy fails on the day it is needed.

A copy exists

This is the first state. A dump file was written, a snapshot completed, or a mirror clone finished. The job reported success. You have not yet shown that the file opens, that it is the database you think it is, or that an application can use it.

When that copy is a database export, the file is the data. Encrypt it, restrict who can read it, keep the credential that produced it separate from the file, and retain it somewhere that does not disappear with the database host.

PostgreSQL’s manual separates the ways of making that copy, because they are not substitutes. An SQL dump is a set of commands that can rebuild the database. A file-system backup copies the data directory and has to be consistent. Continuous archiving stores the log of changes so you can return to a later moment. A green check on one method says nothing about the other two.

On GitHub, a mirror clone is a copy of the Git repository and its history. GitHub’s backup page also describes migration archives, and it says there is no supported, documented way to restore them on GitHub. Those archives can still be worth storing. They are not in the third state below. They are not even a documented restore.

The copy has been checked

The second state is an integrity check. You did something to the copy other than trust the job status.

For a logical dump, that can be reading the table of contents with pg_restore --list, or loading it into an empty database far enough to see the schema. For a file, it can be a checksum you recorded when the file was written and checked again where the file is stored. For a git mirror, it can be git rev-parse on a commit you expected to find, or a clone of the mirror onto a different disk.

A checksum proves the bytes did not change. It does not prove those bytes are a database your application can run. That is why this state has its own name. Call it integrity-checked, and do not call it restored.

Someone restored it and looked

The third state is a restore you rehearsed. The copy was loaded into a separate target. You inspected a result you named in advance: a row count, a login, a commit, a page the application renders. You wrote down what was missing.

Supabase’s dashboard restore is a real restore, and the documentation is clear about the cost: the project is unavailable while it runs, and restoring over the project replaces its current state. A rehearsal belongs on a new project so the rehearsal is not itself the incident. After a logical restore, check the gaps Supabase documents: storage objects are not in the database backup, custom role passwords are not in daily backups, and auth settings do not come along with a dump.

A restore that recreated the schema and failed on the data is not a verified recovery of the application. Record the failure. A failed drill is information. A drill you describe as successful because the command exited is not.

Write the three states down

Use one row per system. A system is the repository, the database, the object store, and the deployment configuration, not “the app.”

System Copy exists Integrity checked Restore rehearsed Last date What was missing
Git repository Mirror on a second disk Expected commit is in the mirror Pushed to a new empty remote Fill in Issues, actions, secrets
Database Dump or hosted backup Dump opened or checksum matched Loaded into a new database Fill in Roles, extensions, storage objects
Object storage Second bucket or export Count or checksum Read back from the copy Fill in Permissions, CDN settings

The planning template is that table with room to write. It does not fill itself in, and it does not certify the result.

Recovery point and recovery time

Two questions belong next to the table.

How much work can you lose? The answer is the time between the failure and the last copy you would trust. A hosted point-in-time option can make that window short. Supabase documents a worst case of two minutes for its point-in-time recovery, because write-ahead logs are archived on that interval when the database is active. That number is a property of that feature when it is enabled. It is not a property of a weekly dump, and it is not a promise about your whole company.

How long can you be down? Measure it on the rehearsal: from the decision to restore until the separate target is usable. Include the time to find the password, the time the project is locked, and the time to notice a missing extension. A target you have not measured is a wish.

What not to claim

Do not tell a customer, an insurer, or yourself that recovery is guaranteed because a backup job is green. Do not treat a copy, a checksum, and a rehearsed restore as one event. Do not let an AI coding session be the thing that both takes the backup and is the only record of how to restore it. Write the steps where a person can follow them when the assistant is unavailable.

Kryptlox uses these three states, protected, integrity-checked, and restore-verified, to talk about its own plans. The product is in development. This article is the general practice, and you can do it without that product.