<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Disaster-Recovery on Brian Faust</title><link>https://wimdy.works/tags/disaster-recovery/</link><description>Recent content in Disaster-Recovery on Brian Faust</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate><atom:link href="https://wimdy.works/tags/disaster-recovery/rss.xml" rel="self" type="application/rss+xml"/><item><title>Recover the First Useful Service, Not Every Server</title><link>https://wimdy.works/thoughts/recover-the-first-useful-service-not-every-server/</link><pubDate>Thu, 01 Oct 2026 00:00:00 +0000</pubDate><guid>https://wimdy.works/thoughts/recover-the-first-useful-service-not-every-server/</guid><description>&lt;p&gt;Six components sit on the recovery checklist: a database, queue, cache,
carrier adapter, identity service, and API. You can follow that checklist
exactly, restore the first four without error, and still leave every customer
unable to retrieve a shipment.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://wimdy.works/reproductions/ops-05/"&gt;OPS-05 fixture&lt;/a&gt;
 gives every recovery action a deterministic
duration. Inventory order reaches an accepted customer journey at 540 virtual
milliseconds. Restoring identity, shipment data, and the API first reaches a
bounded read-only journey at 240. Both schedules finish all six components at
540.&lt;/p&gt;</description></item><item><title>Replication Copies Corruption Too</title><link>https://wimdy.works/thoughts/replication-copies-corruption-too/</link><pubDate>Tue, 01 Sep 2026 00:00:00 +0000</pubDate><guid>https://wimdy.works/thoughts/replication-copies-corruption-too/</guid><description>&lt;p&gt;The primary answers &lt;code&gt;SELECT 1&lt;/code&gt;. So does its streaming standby. Their WAL
positions show that the standby has caught up, and PostgreSQL promotes it
without error. &lt;code&gt;shipment-100&lt;/code&gt; is missing from both.&lt;/p&gt;
&lt;p&gt;Every infrastructure signal in that sequence can be true at the same time. The
&lt;a href="https://wimdy.works/reproductions/ops-04/"&gt;OPS-04 fixture&lt;/a&gt;
 makes it happen with PostgreSQL 18.1: a valid
&lt;code&gt;DELETE&lt;/code&gt; commits on the primary, reaches the physical standby, and survives
promotion. Failover restores a writable endpoint, but the deleted shipment is
still deleted. Replication worked perfectly. That is the problem.&lt;/p&gt;</description></item><item><title>A Backup Is Only an Input to Recovery</title><link>https://wimdy.works/thoughts/a-backup-is-only-an-input-to-recovery/</link><pubDate>Sat, 01 Aug 2026 00:00:00 +0000</pubDate><guid>https://wimdy.works/thoughts/a-backup-is-only-an-input-to-recovery/</guid><description>&lt;p&gt;The backup job is green. The archive exists, its checksum matches, and
&lt;code&gt;pg_restore&lt;/code&gt; exits successfully. A shipment lookup still returns nothing.&lt;/p&gt;
&lt;p&gt;That is not a hypothetical combination. The &lt;a href="https://wimdy.works/reproductions/ops-03/"&gt;OPS-03 fixture&lt;/a&gt;

contains a schema-only archive with a stable SHA-256 identity. PostgreSQL
restores it without error. The tables and constraints exist. The application
probe then asks for &lt;code&gt;shipment-100&lt;/code&gt;, receives no row, and rejects the recovery.&lt;/p&gt;
&lt;p&gt;The checksum answered which bytes we selected. The restore command answered
whether PostgreSQL could apply them. Neither answered whether the recovered
database could do useful work.&lt;/p&gt;</description></item></channel></rss>