Dumpling

Restore drill checklist

A backup is only proven when it has been restored. This is the checklist for doing that on purpose, before an incident, with the numbers written down. It applies to any Postgres or MySQL backup, whether or not Dumpling took it.

For reference: our own drill on Dumpling's database, from downloading the off-site copy to a running server whose stored secrets decrypted, took 10 minutes 13 seconds and found two problems in the written procedure. Neither was in the code. That is the usual outcome, and it is why the drill is worth doing.

Before you start (5 minutes)

The restore (10 to 30 minutes)

Afterwards (5 minutes)

What drills usually find

Record sheet

Date:                    Backup file:
Backup taken at:         File size:
Restore target:          Tool versions:
Download time:           Restore time:
Row counts (3 tables):   Match production?  yes / no
Steps missing from runbook:
Total elapsed:           Next drill:
Make the drill boring

Dumpling checks every backup with pg_restore --list as it is taken, shows the restore command next to every run, and alerts when a run is missed. The drill still matters; it just stops finding surprises in the file.

Start free →

Related