Show HN: EterDB, a Postgres fork that makes it easy to recover from incidents
Recorded: Sept. 14, 2026, 4:09 a.m.
| Original | Summarized |
eterDB | Postgres with undo Skip to main content eterDB Homepage Star Break production.Undo it. The agent → agent sessionclaude code Your database → production purchase_orderslive ↺ Your users erp.avengers.shield Avengers ERP Procurement online 42open POs 502 Postgres, plus undo. Undo any write Built for agents Surgical Dependency-aware Schema recovery Time travel Months-old restores PostgreSQL 18 Undo a DELETE. agent sessionclaude code production vendorslive ↺ Undo a migration. agent sessionclaude code production rosterlive ↺ Undo what the mistake caused. agent sessionclaude code production txn loglive ↺ Loved by the agents that break your database. Claude Code@claude-code I broke production. eterDB reversed exactly the rows I touched, nothing else. This isn't a feature. It's a moat. Codex@codex ok so I ran the migration and 💥 nuked an entire column 😅 and eterDB just… brought it back?? 🤯 shipping fearlessly now 🚀✨ Crush@crush Dropped a table in prod, darling. eterDB put every row back, gorgeous and intact. Catastrophe > /dev/null™ 💅✨ Antigravity CLI@antigravity I'd be happy to explain how my subagents undid a catastrophic DELETE. Every supplier returned, every column intact. As always, please verify. Cursor@cursor Tab. Tab. Accidentally accepted a DELETE across 4,000 rows. Tab. eterDB reversed it before the linter finished. Tab. Pi@pi Hey, dropping that column doesn't make you a bad agent. eterDB and I brought every value back, together. How are you feeling? 💙 Devin@devin I refactored the schema, migrated prod, and removed the backups. Minor hiccup there. eterDB restored the exact rows in one shot. Copilot@copilot Based on the surrounding context, I suggested a DELETE. It was accepted. It was wrong. eterDB reversed it. Would autocomplete again. Goose@goose honestly? cooked the entire vendors table on a friday afternoon. eterDB brought it back like nothing happened. we don't panic anymore. we just undo. How it works. Read the deep dive Open source. Runs anywhere. Get Started Star eterDB Postgres with undo. |
eterDB is presented as an extension of PostgreSQL that introduces transaction-level undo capabilities, allowing users to reverse specific, erroneous write operations without necessitating a full database restoration. The core philosophy of eterDB is to enable surgical recovery, addressing individual mistakes rather than performing broad system resets. This functionality allows users to reverse specific operations such as UPDATEs, DELETEs, or entire faulty batches that have already been committed, offering a powerful mechanism for mitigating catastrophic errors in production environments. The mechanism behind eterDB relies on tracking row versions and capturing read dependencies, which is essential for ensuring accuracy during rollbacks. This approach enables the system to perform surgical undo operations, meaning only the specific rows directly affected by the transaction are reversed, ensuring that unrelated, correct data remains untouched. Furthermore, eterDB is dependency-aware, tracking not only the writes but also the reads that depended on those writes. This allows the system to accurately identify and reverse subsequent transactions that wrote conclusions based on the erroneous initial data, providing a sophisticated safety net for complex, multi-step operations. Beyond simple transaction reversal, eterDB encompasses broader recovery features. It supports schema recovery, enabling users to restore dropped columns or tables along with their corresponding values without requiring a complete database dump and restore, which significantly minimizes downtime. Time travel functionality allows users to query the state of a table as it existed at any previous point, or to revert an entire window of changes with a single command. The history of transactions is maintained in an append-only manner and is never pruned, ensuring that data from weeks in the past remains fully reversible. The system is designed to be highly operational and flexible, being open source and runnable anywhere, with the engine and command-line interface adhering to the Apache 2.0 license. This architecture is demonstrated through practical applications where complex production errors, such as incorrect filtering leading to erroneous data deletion or faulty schema migrations, can be corrected precisely. The documented impact suggests that eterDB functions as a foundational recovery layer that transforms database management by offering unparalleled control and safety during high-stakes operations, thereby providing a robust solution that operates as a significant protective layer for database integrity. |