<?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: ILOGICSOFT</title>
    <description>The latest articles on DEV Community by ILOGICSOFT (@ilogicsoft_8a100b932089aa).</description>
    <link>https://dev.to/ilogicsoft_8a100b932089aa</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4038768%2Fb84baf77-01ce-4f75-bc3b-663d151db34f.png</url>
      <title>DEV Community: ILOGICSOFT</title>
      <link>https://dev.to/ilogicsoft_8a100b932089aa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ilogicsoft_8a100b932089aa"/>
    <language>en</language>
    <item>
      <title>A Green Backup Job Is Not a Recovery Test: Run a Safe Restore Drill with DBAegis</title>
      <dc:creator>ILOGICSOFT</dc:creator>
      <pubDate>Mon, 20 Jul 2026 19:57:50 +0000</pubDate>
      <link>https://dev.to/ilogicsoft_8a100b932089aa/a-green-backup-job-is-not-a-recovery-test-run-a-safe-restore-drill-with-dbaegis-2b2g</link>
      <guid>https://dev.to/ilogicsoft_8a100b932089aa/a-green-backup-job-is-not-a-recovery-test-run-a-safe-restore-drill-with-dbaegis-2b2g</guid>
      <description>&lt;p&gt;Disclosure: I am part of the team building DBAegis.&lt;/p&gt;

&lt;p&gt;A backup job that ends in &lt;code&gt;SUCCESS&lt;/code&gt; proves that a command completed. It does not prove that the artifact is usable, that the target is ready, or that your team can restore the data when time matters.&lt;/p&gt;

&lt;p&gt;That is the operational problem behind &lt;strong&gt;DBAegis&lt;/strong&gt;, a self-hosted database resilience platform that puts connections, schedules, backup history, controlled restores, and recovery evidence in one web interface.&lt;/p&gt;

&lt;p&gt;This walkthrough shows a safe first evaluation with &lt;strong&gt;DBAegis Community&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Community includes
&lt;/h2&gt;

&lt;p&gt;DBAegis Community is AGPL-3.0 and requires no license. Version 1.0.0 supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PostgreSQL, MySQL, and MongoDB&lt;/li&gt;
&lt;li&gt;logical backup and restore using DBAegis-local storage&lt;/li&gt;
&lt;li&gt;manual backups, backup history, restore jobs, and basic retention&lt;/li&gt;
&lt;li&gt;one local administrator&lt;/li&gt;
&lt;li&gt;up to three active database connections and three schedules&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cloud storage, physical backup and restore, point-in-time recovery, notifications, RBAC, MFA, audit exports, and additional database engines are not part of Community. The &lt;a href="https://github.com/ILOGICSOFT/dbaegis-community/blob/main/docs/PRODUCT_EDITIONS.md" rel="noopener noreferrer"&gt;edition comparison&lt;/a&gt; documents the exact boundaries.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before touching a database
&lt;/h2&gt;

&lt;p&gt;Use a clean Linux VM, non-production data, and a disposable restore target. Do not make your first restore attempt against production.&lt;/p&gt;

&lt;p&gt;You will need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a Linux VM with &lt;code&gt;systemd&lt;/code&gt; and &lt;code&gt;sudo&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;outbound HTTPS for dependencies&lt;/li&gt;
&lt;li&gt;a reachable PostgreSQL, MySQL, or MongoDB test database&lt;/li&gt;
&lt;li&gt;the matching native database client tools&lt;/li&gt;
&lt;li&gt;enough local space for the backup artifact and restore working files&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Install and verify the release
&lt;/h2&gt;

&lt;p&gt;Download the release archive and checksum from the same GitHub release:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mkdir&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$HOME&lt;/span&gt;&lt;span class="s2"&gt;/dbaegis-install"&lt;/span&gt;
&lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$HOME&lt;/span&gt;&lt;span class="s2"&gt;/dbaegis-install"&lt;/span&gt;

&lt;span class="nv"&gt;VERSION&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1.0.0
&lt;span class="nv"&gt;BASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://github.com/ILOGICSOFT/dbaegis-community/releases/download/v&lt;/span&gt;&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;VERSION&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;

curl &lt;span class="nt"&gt;-fLO&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;BASE_URL&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/dbaegis-community-v&lt;/span&gt;&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;VERSION&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;.tar.gz"&lt;/span&gt;
curl &lt;span class="nt"&gt;-fLO&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;BASE_URL&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/SHA256SUMS"&lt;/span&gt;
&lt;span class="nb"&gt;sha256sum&lt;/span&gt; &lt;span class="nt"&gt;--ignore-missing&lt;/span&gt; &lt;span class="nt"&gt;--check&lt;/span&gt; SHA256SUMS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Stop if checksum validation fails. Then create the service account and install:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;getent passwd dbaegis &lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nb"&gt;sudo &lt;/span&gt;useradd &lt;span class="nt"&gt;--system&lt;/span&gt; &lt;span class="nt"&gt;--create-home&lt;/span&gt; &lt;span class="nt"&gt;--home-dir&lt;/span&gt; /var/lib/dbaegis dbaegis

&lt;span class="nb"&gt;tar&lt;/span&gt; &lt;span class="nt"&gt;-xzf&lt;/span&gt; &lt;span class="s2"&gt;"dbaegis-community-v&lt;/span&gt;&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;VERSION&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;.tar.gz"&lt;/span&gt;
&lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="s2"&gt;"dbaegis-community-v&lt;/span&gt;&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;VERSION&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;&lt;span class="nv"&gt;DBAEGIS_USER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;dbaegis bash bin/install.sh &lt;span class="nt"&gt;--fresh&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Verify the service before signing in:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;systemctl status dbaegis &lt;span class="nt"&gt;--no-pager&lt;/span&gt;
curl &lt;span class="nt"&gt;-fsS&lt;/span&gt; http://127.0.0.1:8000/health
curl &lt;span class="nt"&gt;-fsS&lt;/span&gt; http://127.0.0.1:8000/api/version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The web UI is available at &lt;code&gt;http://SERVER_IP:3000&lt;/code&gt;. The installer prints the initial login details; change the generated administrator password after signing in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Run the backup half of the drill
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open &lt;strong&gt;Connections&lt;/strong&gt; and add a non-production PostgreSQL, MySQL, or MongoDB source.&lt;/li&gt;
&lt;li&gt;Run &lt;strong&gt;Test Connection&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Resolve client-tool, network, authentication, TLS, path, and disk-space errors before continuing.&lt;/li&gt;
&lt;li&gt;Start a manual logical backup to DBAegis-local storage.&lt;/li&gt;
&lt;li&gt;Open &lt;strong&gt;Backup History&lt;/strong&gt; and confirm that the job completed, the artifact has a non-zero size, and the engine log contains no unexpected warnings.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is useful evidence, but the drill is only half complete.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prove the restore path
&lt;/h2&gt;

&lt;p&gt;Create an empty, disposable database or namespace. Keep it clearly separated from the source so a mistaken target selection cannot overwrite the data you just backed up.&lt;/p&gt;

&lt;p&gt;Then:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add the disposable target as a separate DBAegis connection.&lt;/li&gt;
&lt;li&gt;Test its connectivity and permissions.&lt;/li&gt;
&lt;li&gt;Open &lt;strong&gt;Restore&lt;/strong&gt; and select the successful backup artifact.&lt;/li&gt;
&lt;li&gt;Select the disposable target.&lt;/li&gt;
&lt;li&gt;Review the create and overwrite options carefully.&lt;/li&gt;
&lt;li&gt;Start the restore and inspect the resulting engine log.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Finally, validate the recovered data with checks that matter to the application. A row or document count is a start, but it is not enough by itself. Check representative records, required schemas or collections, constraints and indexes, ownership or permissions, and any extension or feature your application depends on.&lt;/p&gt;

&lt;h2&gt;
  
  
  Record evidence, not just a green status
&lt;/h2&gt;

&lt;p&gt;For each drill, record:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the source and isolated target&lt;/li&gt;
&lt;li&gt;engine and client-tool versions&lt;/li&gt;
&lt;li&gt;backup artifact identifier and size&lt;/li&gt;
&lt;li&gt;backup and restore durations&lt;/li&gt;
&lt;li&gt;validation queries and observed results&lt;/li&gt;
&lt;li&gt;warnings, missing tools, and manual steps&lt;/li&gt;
&lt;li&gt;the person who performed the drill and the date&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That record turns “we have backups” into a repeatable recovery procedure your team can inspect and improve.&lt;/p&gt;

&lt;h2&gt;
  
  
  What DBAegis can—and cannot—prove
&lt;/h2&gt;

&lt;p&gt;DBAegis coordinates the workflow and keeps its operational context visible. Recoverability still depends on the database engine, client tools, backup artifact, target environment, credentials, and the validation procedure you choose.&lt;/p&gt;

&lt;p&gt;The goal is not to replace engine knowledge. It is to make the recovery path explicit and repeatable before an incident forces you to discover it under pressure.&lt;/p&gt;

&lt;p&gt;You can start with the &lt;a href="https://github.com/ILOGICSOFT/dbaegis-community" rel="noopener noreferrer"&gt;DBAegis Community repository&lt;/a&gt;, follow the &lt;a href="https://github.com/ILOGICSOFT/dbaegis-community/blob/main/docs/QUICKSTART.md" rel="noopener noreferrer"&gt;quick start&lt;/a&gt;, and check the &lt;a href="https://github.com/ILOGICSOFT/dbaegis-community/blob/main/docs/BACKUP_RESTORE_SUPPORT.md" rel="noopener noreferrer"&gt;backup and restore support matrix&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I would value candid feedback on installation friction, restore safety, and what evidence your team needs before trusting a backup.&lt;/p&gt;

</description>
      <category>database</category>
      <category>devops</category>
      <category>opensource</category>
      <category>selfhosted</category>
    </item>
  </channel>
</rss>
