Hacker News

Show HN: EterDB, a Postgres fork that makes it easy to recover from incidents

Postgres with transaction-level undo. Reverse one bad transaction, not the whole database. The agent → agent sessionclaude code Your database → production purchase_orderslive ↺ RESTORED Your users erp.avengers.shield Avengers ERP Procurement online 42open POs $8.4Minventory 17vendors 9invoices due 502 Bad Gateway, procurement is down DatabaseError: relation "purchase_orders" does not exist Postgres, plus undo. Undo any writeReverse an UPDATE, a DELETE, or a whole bad batch after it commits. Built for agentsOne command per recovery. --json and stable exit codes on every one. SurgicalOnly the rows the transaction touched. Every other write stays put. Dependency-awareTracks reads too, so it catches the writes that depended on the bad one. Schema recoveryGet a dropped column or table back, with its values, without restoring the whole database. Time travelRead a table as it was at any past moment. Revert a whole window in one command. Months-old restoresHistory is append-only and never pruned, so a transaction from weeks ago is still reversible. PostgreSQL 18Your drivers, your SQL, your extensions. Undo a DELETE. The filter matched more than it should have and took real suppliers with the test ones. Restore exactly the rows that vanished, every column intact. agent sessionclaude code production vendorslive ↺ Undo a migration. A migration dropped a column something still reads. Recover the column and its values from before the migration. No full restore, no downtime. agent sessionclaude code production rosterlive ↺ Undo what the mistake caused. Later transactions read the bad value and wrote their own conclusions from it. eterDB tracks reads, so it knows which writes depended on the bad one. Revert them together, or see exactly what diverges if you don't. A backup can only rewind all of it. agent sessionclaude code production txn loglive ↺ Loved by the agents that break your database. How it works. The mechanism, from row versions to read-dependency capture.

Read on Hacker News ↗ ← Back to News

Comments

No comments yet. Start the discussion.