Stop Fearful Deploys With Automatic ODAC Snapshots

December 2, 2026
9 min read
24 reads
Stop Fearful Deploys With Automatic ODAC Snapshots

Every operator knows the two seconds of silence right after pushing a database migration that looked harmless in staging. One bad schema change, one mismatched database upgrade, or one hasty delete click, and suddenly you are checking when last night's off-server backup finished.

Scheduled off-server backups are essential for disaster recovery, yet relying on nightly runs for deployment safety leaves a massive blind spot. Nobody wants to run a manual backup ritual before every push, and nobody wants a routine deploy stalled behind a multi-gigabyte remote upload.

That is why ODAC now includes automatic, zero-config Snapshots on every connected server. They turn on out of the box, capture your stateful apps and their linked databases at the exact moments things go wrong, and stay out of your way until you need to rewind data in seconds.

Why Nightly Backups Alone Leave a Gap

Traditional server tooling forces an ugly trade-off between safety and velocity. Either you remember to snapshot volumes manually before touching production, or you push forward and hope your migration is reversible.

When things go sideways during an upgrade or deployment, remote object storage is rarely the right tool for immediate recovery. Pulling gigabytes back over the network takes precious minutes while your application sits broken, and backing up an app container without its linked database leaves state out of sync.

ODAC solves this at the server layer. Snapshots create encrypted, local restore points directly on your server's storage engine before risky lifecycle events, giving you instant recovery without altering your deployment workflow or consuming your remote backup storage.

Every Risky Moment Covered Automatically

Once your Server connection is active on ODAC, snapshots work silently in the background with zero setup. ODAC watches for high-risk state transitions and captures both your stateful apps and any databases they link to as one coordinated group.

Here is what triggers an automatic snapshot on every ODAC server:

  • Before a deploy: Whenever you trigger an App deployment for a stateful app, ODAC snapshots the app together with its linked databases while the previous version is still serving traffic. Even a stateless web app deployment automatically snapshots its linked database before migrations start.
  • Before a version change: Switching a catalog app to a new image release or rolling back a version from the Live Canvas automatically records a snapshot before the container restarts.
  • Before the app is deleted: Deleting an app captures a final snapshot while it is still running. ODAC retains deleted app snapshots for seven days, letting you resurrect an accidentally deleted app and its data as a fresh app.
  • Before a restore: Starting an in-place restore automatically triggers a fresh safety snapshot first, so even a restore operation itself can be undone.
  • Before an ODAC update: Self-updating ODAC captures ODAC's own configuration state before applying platform changes.
  • Scheduled and on-demand: ODAC also runs adaptive periodic snapshots spaced roughly ten times the duration of the last snapshot (between one hour and one day), and you can take a manual checkpoint anytime from the terminal.

Zero-Wait Deploys That Never Stall Your Pipeline

A safety mechanism that slows down shipping eventually gets turned off. ODAC runs deploy snapshots in a dedicated slot parallel to your image build, so they never queue behind long off-server backup uploads.

In most deployments, the snapshot finishes before your build wraps up and adds zero delay. If a large database dump is still running when the new image is ready, ODAC waits up to three minutes. If it still has not completed, ODAC cleanly cancels the snapshot dump before starting the new container or running any database migrations, guaranteeing your deploy proceeds smoothly and a backup process never collides with a live schema change.

Browsing and Restoring Snapshots at app.odac.run

You do not need to dig through server directories to inspect or recover a snapshot. Everything lives right inside the Dashboard at app.odac.run.

1. Open the Snapshots Tab Under Backups

Head over to app.odac.run, select your project, and open Backups from the left sidebar. Click Snapshots in the tab switcher at the top right of the header card to switch from scheduled backup jobs to local server restore points.

Click any app row to expand its timeline, sorted newest first. Each entry shows how long ago it was taken, the exact trigger (such as Before a deploy, Before a version change, Before the app was deleted, or Scheduled), consistency badges (Consistent, Crash-consistent, or Live copy) for every app included in the group, the total size, and a Restore button.

ODAC Cloud Backups page on the Snapshots tab with PostgreSQL expanded showing automatic deploy, version, and scheduled snapshots alongside consistency badges and Restore buttons

2. Automatic Safety During Version Switches

If you manage catalog databases or services directly on the Live Canvas, snapshot protection is built straight into the upgrade flow. Click any app card on the Live Canvas, open its Version panel from the inspector, and switch releases or turn on nightly automatic updates.

Whenever ODAC changes a stateful app's version, it captures a pre-change snapshot first and notes it directly inside the History list (A snapshot was taken first. It is on the Backups page.). If a migration inside a new release misbehaves even after a healthy startup, you can roll back the version and immediately pair it with the matching data snapshot.

ODAC Cloud Live Canvas inspector showing the PostgreSQL Version panel History list with a pre-change snapshot note and the Roll back to 17.5-alpine button

3. Restore Data In Place or as a New App

Click Restore next to any point on the Snapshots tab to open the Restore data dialog. From there, ODAC offers two clear paths:

  • As a new app: Spins up an isolated copy alongside your live application without assigning domains or interrupting production traffic, ideal for extracting dropped rows or inspecting yesterday's state.
  • In place: Rolls the live app's data back to that exact point. ODAC calculates how much recent data will be replaced, lists any linked apps that will pause cleanly while data swaps, and guarantees a fresh pre-restore safety snapshot before changing a byte.

To prevent accidental overwrites during an In place restore, ODAC requires you to type the app's exact name to confirm before the Replace the data button unlocks.

ODAC Cloud Restore data dialog in In place mode showing the data-only restore notice, replacement warning, linked app pause note, typed confirmation input, and Replace the data button

Once confirmed, you can watch the Live Canvas as ODAC dims the app and any linked services with a Restoring data... indicator until everything comes back online cleanly. Remember one golden rule: snapshots restore data, not code or container image tags. If an earlier snapshot came from a different app version, ODAC warns you in the dialog and asks you to roll back the app's version on the Live Canvas first.

Prefer working from a terminal over the Dashboard? Every snapshot workflow is available in the ODAC CLI as well:

# List available snapshots for an app
odac snapshot list --app postgres

# Take an on-demand snapshot before a risky manual maintenance task
odac snapshot take --app postgres

# Restore in place or clone into a separate app
odac snapshot restore --run <run-id>
odac snapshot restore --run <run-id> --new-app --name postgres=postgres-copy

Adaptive Disk Budgeting That Protects Running Apps

Local snapshots are only helpful if they never fill up your root volume and crash production containers. ODAC manages snapshot disk space dynamically using the same self-regulating philosophy as its adaptive swap system.

By default, your local snapshot store can use up to 25% of your server's available space (calculated over free space plus the snapshot store's own size). As your applications write more data and disk space tightens, the snapshot budget shrinks automatically and prunes older snapshots: periodic snapshots first, then older event snapshots, keeping each app's newest safety points last.

On top of that budget, ODAC enforces a hard free-space floor equal to the larger of 10% of the disk or 5 GB. Below that floor, the snapshot budget drops to zero and running applications always win over historical snapshots.

You can tune this limit per server right inside app.odac.run. Open your user menu, click Servers, select a server to slide open its inspector, and click the gear icon for Settings. Under Snapshot space, pick Off, 10%, 25%, 40%, or 50% from the segmented control, and ODAC applies the change immediately.

ODAC Cloud Servers inspector Settings view showing Snapshot space usage and the Off, 10%, 25%, 40%, and 50% segmented control

If you prefer inspecting budgets or adjusting limits from SSH, the CLI gives you full visibility into disk usage, recent snapshot outcomes, and retention controls:

# Check current disk share, schedule, and warnings
odac snapshot status

# Review taken and skipped snapshots across the server
odac snapshot history --app postgres --limit 20

# Cap local snapshot storage to 15% or pause new snapshots
odac snapshot settings --max-disk 15
odac snapshot settings --off

Know the Boundaries Before You Need Them

Snapshots are designed to be effortless, not magical. Keeping two practical boundaries in mind will save you from surprises during an incident:

  • Snapshots protect against mistakes, not hardware loss: Snapshots live encrypted on the server's local disk with a server-managed key. They rescue you from bad migrations, failed upgrades, and accidental deletions in seconds, but they disappear if the server itself dies. Keep scheduled off-server backups enabled on Backups for true disaster recovery.
  • Turning snapshots off changes in-place restores: Disabling snapshots keeps existing restore points intact until they expire or you remove them with odac snapshot delete --run <run-id>. However, because ODAC cannot take a pre-restore safety snapshot while the feature is disabled, in-place restores from the CLI require explicitly passing --skip-safety.

Every deployment carries a tiny bit of risk, especially when databases are involved. With automatic Snapshots active across app.odac.run and the ODAC CLI, deploying a migration or upgrading a live database stops feeling like walking a tightrope without a net.