Blogacrynite.com

Restore testing

A repeatable procedure for proving your backups can actually be recovered.

A practical physical recovery test

  1. Create a physical base backup.
  2. Confirm WAL archiving is configured.
  3. Generate test data changes after the backup.
  4. Confirm the relevant WAL has been archived.
  5. Select a recovery timestamp.
  6. Run restore plan.
  7. Execute the Docker restore.
  8. Verify the recovered data against the expected state.

For logical backups, restore into a separate registered target and compare the schema and data.