Fieldnotes
Back to the notebook
Working notes3 min read

Practice the restore.

The most useful backup exercise ends with a working copy, not another archive.

A completed backup job proves that a job completed. It does not, by itself, prove that the files are complete, that the archive can be opened, or that the service can be rebuilt from what was saved.

The simplest way to close that gap is to practice a restore before you need one.

Save the things that are hard to recreate

Begin with a short inventory: application data, configuration, uploaded files, and the information needed to rebuild the environment. Database files may require a database-aware backup procedure to produce a consistent copy. Copying files while they are being modified is not always enough.

Keep secrets protected and recoverable through an appropriate separate process. An archive is of little use if the only copy of its decryption key was lost with the original machine.

Restore somewhere separate

Use a temporary directory or an isolated test environment. Avoid overwriting the working system to find out whether a backup is valid. Keep outbound email, scheduled jobs, and other side effects disabled in a restored test application.

  1. Select a specific backup and record when it was created.
  2. Restore it into a clean location.
  3. Check that important files open and expected records are present.
  4. Run the smallest meaningful application check.
  5. Record the time required and anything the written procedure missed.

Keep distance from the original

A second copy on the same disk is convenient for a quick rollback, but it will not help if the disk is lost. Keep recoverable copies in a separate failure domain, with access controls that fit the data. Consider whether deletion or corruption of the original could also propagate to the backup.

Leave a short runbook

Write down where the copies live, how to retrieve them, how to restore them, and how to verify the result. Include the last successful restore date. Keep the instructions somewhere you can reach when the main service is unavailable.

A backup becomes useful when the way back is familiar.

Repeat the exercise after meaningful changes to storage, configuration, or the application. The goal is a routine that another person—or a tired future version of you—can follow without guessing.