Stork Delivery

Your backup is only half the job

A backup becomes useful when you can restore a working service and confirm that the business data is complete enough to use.

An aisle between rows of server cabinets.
Photo: Brett Sayles / Pexels

The problem: a successful backup does not prove the business can recover

A backup job can report success every night while the business remains unsure how it would recover from a serious failure.

The missing piece is a tested restore. You need to know which data comes back, what else the application requires, and how long it takes before someone can use the result.

A practical approach

Start with the business tolerance

Ask two separate questions. How much recent work could the business afford to lose? How long could the service be unavailable?

These answers shape the recovery design. A nightly copy may be appropriate for one workload and leave an unacceptable gap for another. Restoring a database in an hour does not meet a one-hour recovery target if application setup and verification take another afternoon.

Record the assumptions with the owner of the business process. Avoid choosing recovery targets solely because a tool offers a particular schedule.

Recover the whole service

A working application may need database contents, uploaded files, configuration, certificates, credentials, and access to external services. Some of these require separate recovery arrangements.

For PostgreSQL, the official documentation distinguishes SQL dumps, filesystem-level backups, and continuous archiving. Those approaches have different requirements; they are not interchangeable copies of the same thing. Follow the procedure appropriate to your actual setup. PostgreSQL backup documentation explains the foundations.

Make sure the recovery instructions identify the required dependencies without putting secrets into an ordinary document.

Test away from production

Restore into an isolated environment. Prevent recovered jobs from sending customer emails, charging payments, or writing to production integrations.

Then test a real business operation with safe data. Can a user sign in? Can the application find an uploaded document? Do totals and record counts match the expected recovery point? Can the team explain any missing recent activity?

Measure the elapsed time, including the time spent finding instructions and obtaining access. That is part of the recovery process too.

Give the result an owner

Keep the date, scope, result, and unresolved issues from each exercise. Retest after material changes to storage, hosting, or application dependencies.

A backup is a necessary component of reliable infrastructure. The stronger evidence is a recovery that someone has carried out, checked, and documented well enough for another authorized person to repeat.

The result: evidence of a complete restore

Keep a recovery record showing the chosen backup, recovered data point, elapsed time, and checks of the application and its files. Compare the measured outage and potential data loss with the business owner's agreed tolerance. Any gap needs a named corrective action. Begin by scheduling one isolated restore with the person who would be expected to perform it during an incident.

← Explore the library