For Claude Code, Cursor, Windsurf & more

Don't let AI nuke your database.

You're vibing. The AI decides the fastest way to fix a migration is DROP TABLE users. Your data is gone. Auto-backup and 1-click restore so your afternoon survives the apocalypse.

See How It Works

Click to copy command

bash

~ oopsdb init # Connect your DB

✔ Connected to Supabase

✔ Encrypted credentials saved

~ oopsdb watch # Auto-backup every 5 mins

Watching database for changes...

Snapshot created 12:00 PM (14MB)

... AI runs DELETE FROM orders ...

~ oopsdb restore # Roll back instantly

✔ Safety snapshot taken

✔ Database restored successfully.

Works natively with your stack

Postgres PostgreSQL
Supabase
SQLite SQLite

Enterprise-grade safety,
zero config required.

Built exclusively to protect developer environments from accidental or AI-generated destructive operations.

Auto-Backups on a Timer

Run oopsdb watch and forget it. Takes a snapshot every 5 minutes automatically.

Interactive Restore

Run oopsdb restore to view your snapshots by timestamp and size. Pick one to rollback instantly.

Safety Snapshots

OopsDB automatically backs up your current state before restoring, so you can always undo your undo.

Encrypted at Rest

AES-256-CBC encryption on every backup file and locally stored credentials. Secure by default.

Zero Cloud, Local Only

Everything stays on your machine. No accounts, no data telemetry, no cloud dependencies.

Streaming Backups

Output is streamed directly through encryption to disk. Near-zero memory footprint for massive databases.

First-Class Support

Built for Supabase

OopsDB handles Supabase specifics automatically. Just paste your connection string. We auto-apply --no-owner, --no-privileges, and sslmode=require flags under the hood.

  • No complex pg_dump configurations required
  • Works seamlessly with remote hosted Postgres
? Select database type:
> Supabase Postgres
Local Postgres
MySQL / MariaDB
SQLite
? Paste connection string:
[hidden for security]
Configured securely.

Simple pricing.
Start free, upgrade when you need it.

Free covers SQLite. Go Pro for full database support.

Free

$0 /forever

Local database backups for SQLite. Perfect for solo projects and vibe coding.

  • SQLite backups
  • Auto-backup on timer
  • Interactive restore
  • Encrypted at rest
  • 10 snapshots
npm i -g oopsdb
Most Popular

Pro

$9 /mo

Full database protection. PostgreSQL, MySQL, Supabase, and SQLite. Unlimited snapshots.

  • Everything in Free
  • PostgreSQL support
  • MySQL / MariaDB support
  • Supabase support
  • Unlimited snapshots
  • Priority support

Secure

$29 /mo

Immutable cloud backups. If your laptop dies or gets wiped, your data survives.

  • Everything in Pro
  • E2E Encrypted Cloud Storage
  • 30 Days Retention
  • Restorable from any machine
  • 50GB included