<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Backups on AltSql.com</title>
    <link>https://altsql.com/tags/backups/</link>
    <description>Recent content in Backups on AltSql.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 31 Oct 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://altsql.com/tags/backups/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AltSql Restore Catches a Cut Upload and a 72 Percent Rental Loss in Five Nights of Pagila Backups</title>
      <link>https://altsql.com/altsql-restore-catches-a-cut-upload-and-a-72-percent-rental-loss-in-five-nights-of-pagila-backups/</link>
      <pubDate>Sat, 31 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/altsql-restore-catches-a-cut-upload-and-a-72-percent-rental-loss-in-five-nights-of-pagila-backups/</guid>
      <description>&lt;p&gt;Pagila is the public sample database of a made-up DVD rental chain, a PostgreSQL port of MySQL&amp;rsquo;s Sakila. It has customers, films, stores, 51,805 rentals and 51,061 payments, and the payments sit in one partition per month. That makes 69 tables in all, which is close enough to a small shop&amp;rsquo;s real database to be worth a test.&lt;/p&gt;&#xA;&lt;p&gt;We loaded it into a local PostgreSQL 16.15 server and backed it up five times with &lt;code&gt;pg_dump | gzip&lt;/code&gt;, the way many teams do it every night. After each backup, the released &lt;code&gt;altsql-restore&lt;/code&gt; 0.5.0 checked the file with the same job name and the same history. The five runs were made one after another on 31 October 2026, and each one stands for a night.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AltSql Restore Fails Three PostgreSQL Dumps That psql Restored With Exit Status 0</title>
      <link>https://altsql.com/altsql-restore-fails-three-postgresql-dumps-that-psql-restored-with-exit-status-0/</link>
      <pubDate>Sat, 31 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/altsql-restore-fails-three-postgresql-dumps-that-psql-restored-with-exit-status-0/</guid>
      <description>&lt;p&gt;Plenty of teams already test their backups with a one-line script. It loads last night&amp;rsquo;s dump into a spare database with &lt;code&gt;psql&lt;/code&gt;, and if the exit status is 0, the backup counts as good. The trouble is that &lt;code&gt;psql&lt;/code&gt; reading a file keeps going after an error. It prints the error, moves on to the next statement, and exits with 0 at the end, however many statements failed.&lt;/p&gt;&#xA;&lt;p&gt;We took three PostgreSQL dumps with real faults and gave each one to that script and to &lt;code&gt;altsql-restore&lt;/code&gt; 0.5.0. Then we did the same with a MariaDB dump. Everything ran on 31 October 2026 against local PostgreSQL 16.15 and MariaDB 10.11.14 servers.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AltSql Restore Proves Your Nightly Backup Restores Before You Need It</title>
      <link>https://altsql.com/altsql-restore-proves-your-nightly-backup-restores-before-you-need-it/</link>
      <pubDate>Sat, 31 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/altsql-restore-proves-your-nightly-backup-restores-before-you-need-it/</guid>
      <description>&lt;p&gt;Most backups are never restored until the day someone needs them. That&amp;rsquo;s a bad day to find out the dump stopped halfway through.&lt;/p&gt;&#xA;&lt;p&gt;AltSql Restore is a new AltSql module that tests the backup every night instead. It&amp;rsquo;s one program, &lt;code&gt;altsql-restore&lt;/code&gt;, open source under the Apache License 2.0, and it ships in the 0.5.0 release on &lt;a href=&#34;https://github.com/AltSql/altsql&#34;&gt;GitHub&lt;/a&gt; beside the two shells.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-it-does&#34;&gt;What It Does&lt;/h2&gt;&#xA;&lt;p&gt;You point it at last night&amp;rsquo;s backup. It restores the backup into a throwaway sandbox, counts the rows in every table, takes a checksum of each, and compares the numbers with the last good run. Then it removes the sandbox.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AltSql Restore Use Examples From the Cron Line to the Auditor Report</title>
      <link>https://altsql.com/altsql-restore-use-examples-from-the-cron-line-to-the-auditor-report/</link>
      <pubDate>Sat, 31 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/altsql-restore-use-examples-from-the-cron-line-to-the-auditor-report/</guid>
      <description>&lt;p&gt;These are the recipes we&amp;rsquo;d hand to someone setting up AltSql Restore on a backup host for the first time. Each one was run as written on 31 October 2026 with the released &lt;code&gt;altsql-restore&lt;/code&gt; 0.5.0, on a gzipped PostgreSQL dump and a SQLite file of Chinook, the public sample database of a digital music store. Paths were changed to a test folder for the runs, and the outputs below are copied from them.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SQLite File Copied During a Write Passes AltSql Restore and Fails the SQLite Integrity Check</title>
      <link>https://altsql.com/sqlite-file-copied-during-a-write-passes-altsql-restore-and-fails-the-sqlite-integrity-check/</link>
      <pubDate>Sat, 31 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/sqlite-file-copied-during-a-write-passes-altsql-restore-and-fails-the-sqlite-integrity-check/</guid>
      <description>&lt;p&gt;Most case studies show a tool doing its job. This one shows AltSql Restore 0.5.0 passing a backup it should have failed, because that&amp;rsquo;s what the recorded run says, and because the way the backup was made is common enough to matter.&lt;/p&gt;&#xA;&lt;p&gt;The database is Chinook, the public sample database of a digital music store, as its project ships it for SQLite: one file of 1,007,616 bytes with 11 tables and 12 indexes. In this test an application keeps it as &lt;code&gt;app/chinook.db&lt;/code&gt; in SQLite&amp;rsquo;s default journal mode, and the nightly backup is a plain &lt;code&gt;cp&lt;/code&gt; of that file. Every night ended with &lt;code&gt;altsql-restore&lt;/code&gt; checking the copy, and with SQLite&amp;rsquo;s own &lt;code&gt;PRAGMA integrity_check&lt;/code&gt; run on the same copy for comparison. The three nights ran one after another on 31 October 2026.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
