<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sverre Senneset</title>
    <description>The latest articles on DEV Community by Sverre Senneset (@queuey).</description>
    <link>https://dev.to/queuey</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3888966%2Fe48149e5-452f-4a08-bb34-302134b7efeb.png</url>
      <title>DEV Community: Sverre Senneset</title>
      <link>https://dev.to/queuey</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/queuey"/>
    <language>en</language>
    <item>
      <title>Why database backups don’t fix integration failures (and what actually does)</title>
      <dc:creator>Sverre Senneset</dc:creator>
      <pubDate>Mon, 20 Apr 2026 12:39:27 +0000</pubDate>
      <link>https://dev.to/queuey/why-database-backups-dont-fix-integration-failures-and-what-actually-does-4dgn</link>
      <guid>https://dev.to/queuey/why-database-backups-dont-fix-integration-failures-and-what-actually-does-4dgn</guid>
      <description>&lt;h2&gt;
  
  
  Why database backups don’t fix integration failures (and what actually does)
&lt;/h2&gt;

&lt;p&gt;I used to treat integration failures as data problems.&lt;/p&gt;

&lt;p&gt;Restore the database.&lt;br&gt;&lt;br&gt;
Re-run the job.&lt;br&gt;&lt;br&gt;
Patch the gap.  &lt;/p&gt;

&lt;p&gt;It works — until it doesn’t.&lt;/p&gt;

&lt;p&gt;Because most of the time, the data isn’t missing.&lt;/p&gt;

&lt;p&gt;The event just never made it where it needed to go.&lt;/p&gt;




&lt;h2&gt;
  
  
  The gap no one owns
&lt;/h2&gt;

&lt;p&gt;Most systems are built around state.&lt;/p&gt;

&lt;p&gt;Databases, backups, snapshots — all focused on &lt;em&gt;what the data looks like&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;But integrations are about &lt;em&gt;how data moves&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;A typical flow:&lt;br&gt;
ERP → Service A → Service B → API&lt;/p&gt;

&lt;p&gt;Now imagine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ERP emits an &lt;code&gt;order.created&lt;/code&gt; event
&lt;/li&gt;
&lt;li&gt;Service A forwards it
&lt;/li&gt;
&lt;li&gt;Service B times out
&lt;/li&gt;
&lt;li&gt;No retry is triggered
&lt;/li&gt;
&lt;li&gt;The upstream system assumes success
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Nothing crashes.&lt;br&gt;&lt;br&gt;
No alerts fire.&lt;/p&gt;

&lt;p&gt;Until someone notices the order was never fulfilled.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why backups fall short
&lt;/h2&gt;

&lt;p&gt;When this happens, teams usually:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;restore a backup
&lt;/li&gt;
&lt;li&gt;re-run a job
&lt;/li&gt;
&lt;li&gt;patch data manually
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But backups only restore state.&lt;/p&gt;

&lt;p&gt;They don’t tell you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what failed
&lt;/li&gt;
&lt;li&gt;what never arrived
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And they can’t reconstruct a missing event.&lt;/p&gt;




&lt;h2&gt;
  
  
  The real problem: delivery
&lt;/h2&gt;

&lt;p&gt;At some point it becomes clear:&lt;/p&gt;

&lt;p&gt;This isn’t a data problem.&lt;br&gt;&lt;br&gt;
It’s a delivery problem.&lt;/p&gt;

&lt;p&gt;Most systems rely on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;webhooks
&lt;/li&gt;
&lt;li&gt;ad hoc retry logic
&lt;/li&gt;
&lt;li&gt;logs spread across services
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When something fails mid-flight, debugging becomes guesswork.&lt;/p&gt;

&lt;p&gt;And if something is lost entirely, recovery becomes manual.&lt;/p&gt;




&lt;h2&gt;
  
  
  A different approach: replay
&lt;/h2&gt;

&lt;p&gt;Instead of restoring state, replay flow.&lt;/p&gt;

&lt;p&gt;If events are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;captured
&lt;/li&gt;
&lt;li&gt;stored
&lt;/li&gt;
&lt;li&gt;replayable
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can recover without guessing.&lt;/p&gt;

&lt;p&gt;Not by re-running jobs.&lt;br&gt;&lt;br&gt;
Not by patching data.&lt;/p&gt;

&lt;p&gt;But by replaying what actually happened.&lt;/p&gt;




&lt;h2&gt;
  
  
  What this enables
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Re-deliver only failed events
&lt;/li&gt;
&lt;li&gt;Trace what happened to a specific event
&lt;/li&gt;
&lt;li&gt;Apply updated retry or routing policies
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Recovery becomes predictable — assuming idempotent consumers.&lt;/p&gt;




&lt;h2&gt;
  
  
  Trade-offs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Storage overhead
&lt;/li&gt;
&lt;li&gt;Idempotency requirements
&lt;/li&gt;
&lt;li&gt;Architectural shift
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Final thought
&lt;/h2&gt;

&lt;p&gt;If you can’t replay what happened between your systems,&lt;br&gt;&lt;br&gt;
you don’t really have a recovery strategy.&lt;/p&gt;

&lt;p&gt;You have a snapshot.&lt;/p&gt;

</description>
      <category>backend</category>
      <category>distributedsystems</category>
      <category>devops</category>
      <category>api</category>
    </item>
  </channel>
</rss>
