sqlite3_rsync: Database Remote-Copy Tool For SQLite
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
sqlite3_rsync lets developers snapshot or sync a live SQLite database to a remote machine over SSH without needing free disk space for a full local copy.
SQLite is a widely used database program that stores data in a single file. It ships a tool called sqlite3_rsync that can copy that file to another computer over an encrypted remote-login connection called SSH. Unlike older copy methods, it never needs to make a duplicate on the original machine's disk, and it only transmits the parts of the file that changed, like the familiar rsync tool.
Teams running SQLite on small servers can now back up or replicate databases to remote hosts without needing spare disk space equal to the database size, removing a real operational constraint. The tool has shipped since SQLite 3.47.0 in October 2024 and was enhanced in 3.50.0 in May 2025. Sync traffic stays close to full-database size only when replicas differ wildly, with overhead of a few percent.
sqlite3_rsync, bundled since SQLite 3.47.0 (October 2024) and improved in 3.50.0 (May 2025), snapshots a database to a remote host over SSH without a local copy, unlike the backup API or VACUUM INTO. The replica sends cryptographic hashes of pages or page groups; the origin returns differing page content or requests finer-grain hashes when multi-page hashes mismatch. If the replica diverges substantially, hash exchange overhead can push total transfer past full-database size, though the excess is a few percent at most.
Questions this answers
The article above answers these:
- how does sqlite3_rsync work over SSH
- how do I back up SQLite without free disk space
- when was sqlite3_rsync added to SQLite
Read the original
This summary exists to save you time, not to replace the source.
Key terms
sqlite3_rsync SQLite SQLite 3.47.0 SQLite 3.50.0 rsync SSH VACUUM INTO
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Node graph engine that runs big diffusion models on 4GB VRAM
ComfyUI's asynchronous weight streaming lets large diffusion models run on 4GB VRAM, meaning practitioners with modest GPUs no longer need expensive hardware for local image, video and audio generation.
iCloud apps for Windows, Linux and Android, written in Rust
Skykeep gives Rust-based native iCloud apps for Windows, Linux and Android, ending the iCloud.com-browser workaround for non-Apple-device users.
An open-source video editor covering auto-captions, voice isolation and keyframes
Very little for most professionals: Concat is a free, pre-1.0 open-source video editor that makes basic auto-captions and voice isolation available on mobile and desktop without a subscription.
OpenGame: turn your local coding agent into a full-stack game studio
Developers with a local coding agent can now scaffold full playable 3D games, art, music, testing, publishing, instead of only refactoring code, opening a path from hobby coding to shippable mini-games.
A Flipper Zero CAN bus toolkit for Tesla, from $14
An open-source $14 ESP32/Flipper Zero build replicates $200+ commercial Tesla dongles at the CAN bus level, including FSD region-gate bypass and TLSSC restore, with real VIN-ban risk.