SQL RecycleBin lets SQL Server DBAs undo accidental DELETEs and UPDATEs instantly
A developer has released SQL RecycleBin, an open-source tool that adds undo functionality to Microsoft SQL Server for accidental DELETE and UPDATE operations. The tool works by attaching a lightweight trigger to chosen tables, capturing changed rows as compressed JSON into an internal changelog without requiring third-party agents or log readers. DBAs can restore lost or overwritten data to a specific point in time using simple stored procedures or a PowerShell module, eliminating the need to roll back full database backups. The tool supports bypassing capture during bulk ETL jobs to reduce overhead, and retains history for a configurable window defaulting to 14 days. It is available as source-visible software under a PolyForm Noncommercial licence, free for personal, educational, and non-commercial use.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in